Mutations
GraphQL mutations create, update, or delete objects in the Shopify GraphQL admin API. A mutation has a name, takes input data, and specifies fields to return in the response.
This page discusses the general concept of a GraphQL mutation. For more detail on how this applies to Mechanic and the Shopify API, see Actions / Shopify.
Create a product and return the product ID
Update a product's type and return the product ID and new type
Great resources for learning GraphQL mutations
Last updated