Fulfillment Constraint Rule
Requires access scope.
A fulfillment constraint rule.
Anchor to Fields and connectionsFields and connections
- Anchor to deliveryMethodTypesdelivery•[Delivery
Method Types Method Type!]!non-null Delivery method types that the function is associated with.
- Anchor to functionfunction•Shopify
Function!non-null The ID for the fulfillment constraint function.
- •ID!non-null
A globally-unique ID.
- Anchor to metafieldmetafield•Metafield
A custom field, including its
namespace
andkey
, that's associated with a Shopify resource for the purposes of adding and storing additional information.- Anchor to metafieldsmetafields•Metafield
Connection!non-null A list of custom fields that a merchant associates with a Shopify resource.
Anchor to QueriesQueries
- •query
The fulfillment constraint rules that belong to a shop.
Anchor to MutationsMutations
- •mutation
Creates a fulfillment constraint rule and its metafield.
- 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.
Arguments
- 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.
Fields
- •mutation
Update a fulfillment constraint rule.
- Anchor to deliveryMethodTypesdelivery•[Delivery
Method Types Method Type!]!required Specifies the delivery method types to be updated. If not provided or providing an empty list will associate the function with all delivery methods.
- •ID!required
A globally-unique identifier for the fulfillment constraint rule.
Arguments
- Anchor to fulfillmentConstraintRulefulfillment•Fulfillment
Constraint Rule Constraint Rule The updated fulfillment constraint rule.
- Anchor to userErrorsuser•[Fulfillment
Errors Constraint Rule Update User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields