Skip to main content
Log inSign up
mutation

Requires write_cart_transforms access scope. Also: The shop must have upgraded to Checkout Extensibility and the user must have products and preferences permission to create a cart transform function.

Create a CartTransform function to the Shop.

BooleanDefault:false

Whether a run failure should block cart and checkout operations.

String!required

The identifier of the Function providing the cart transform.

Additional metafields to associate to the cart transform.


Was this section helpful?

Anchor to CartTransformCreatePayload returnsCartTransformCreatePayload returns

The newly created cart transform function.

The list of errors that occurred from executing the mutation.


Was this section helpful?