cartTransformCreate - admin-graphql - MUTATION
Version: 2024-01
Description:
Create a CartTransform function to the Shop.
Access Scopes
`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.
Arguments
-
blockOnFailure:
Boolean -
Whether a run failure should block cart and checkout operations.
-
functionId:
String! -
The identifier of the Function providing the cart transform.
Returns
-
cartTransform:
CartTransform
The newly created cart transform function.
-
userErrors:
CartTransformCreateUserError!
The list of errors that occurred from executing the mutation.
Examples