`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.
metafields:
MetafieldInput -
Additional metafields to associate to the cart transform.
Returns
cartTransform:
CartTransform
The newly created cart transform function.
userErrors:
CartTransformCreateUserError!
The list of errors that occurred from executing the mutation.