Anchor to fulfillmentConstraintRuleCreatefulfillment
mutationfulfillment Constraint Rule Create
Requires access scope.
Creates a fulfillment constraint rule and its metafield.
Anchor to Arguments
Arguments
- Anchor to deliveryMethodTypesdelivery•[Delivery
Method Types Method Type!]!required Associate the function with one or multiple delivery method types.
- Anchor to functionIdfunction•String!required
Id The identifier of the function providing the constraint rule.
- Anchor to metafieldsmetafields•[Metafield
Input!]Default:[] Metafields to associate to the fulfillment constraint rule.
Was this section helpful?
Anchor to FulfillmentConstraintRuleCreatePayload returnsFulfillment Constraint Rule Create Payload returns
- Anchor to fulfillmentConstraintRulefulfillment•Fulfillment
Constraint Rule Constraint Rule The newly created fulfillment constraint rule.
- Anchor to userErrorsuser•[Fulfillment
Errors Constraint Rule Create User Error!]!non-null The list of errors that occurred from executing the mutation.
Was this section helpful?