Change a Shopify Store
shopify_graphql_mutationRun a GraphQL Admin API mutation on a chosen store; confirm with the mutation name for destructive changes, and see per-field status (applied/rejected/unknown).
Instructions
Run one GraphQL Admin API mutation against one named store. Set confirm to true only after the user authorizes the exact store and change. Destructive mutations (see shopify_describe_action; some are destructive only with certain arguments, such as a product status of ARCHIVED or notifyCustomer true) need confirm set to the mutation name instead, and denylisted mutations are refused, exactly as in shopify_run_action. The result reports each top-level mutation field as applied, rejected, or unknown, and the store as applied, rejected, partial, or unknown; after partial or unknown, retry only the rejected fields in a new document.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| store | Yes | Configured store alias, such as main-store or wholesale-store | |
| confirm | Yes | True after the user authorizes the exact change and store. Destructive mutations need the mutation name instead (several: comma-separated, in document order). | |
| mutation | Yes | A GraphQL mutation document. | |
| variables | No | GraphQL variables as a JSON object |