Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Anchor to fulfillmentConstraintRuleCreate

fulfillmentConstraintRuleCreate

mutation

Requires write_fulfillment_constraint_rules access scope.

Creates a fulfillment constraint rule and its metafield.

Associate the function with one or multiple delivery method types.

String!required

The identifier of the function providing the constraint rule.

Metafields to associate to the fulfillment constraint rule.


Was this section helpful?

Anchor to FulfillmentConstraintRuleCreatePayload returnsFulfillmentConstraintRuleCreatePayload returns

Anchor to fulfillmentConstraintRulefulfillmentConstraintRule

The newly created fulfillment constraint rule.

The list of errors that occurred from executing the mutation.


Was this section helpful?