Anchor to fulfillmentConstraintRuleCreatefulfillment
fulfillment Constraint Rule Create
mutation
Requires access scope.
Creates a fulfillment constraint rule and its metafield.
Anchor to Arguments
Arguments
- Anchor to deliveryMethodTypesdelivery•
Method Types [DeliveryMethod Type!]!required Associate the function with one or multiple delivery method types.
- Anchor to functionIdfunction•
Id String!required 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•
Constraint Rule The newly created fulfillment constraint rule.
- Anchor to userErrorsuser•
Errors The list of errors that occurred from executing the mutation.
Was this section helpful?