Skip to main content
Anchor to FulfillmentConstraintRule

FulfillmentConstraintRule

object

Requires read_fulfillment_constraint_rules access scope.

A fulfillment constraint rule.

Anchor to Fields and connectionsFields and connections

•[DeliveryMethodType!]!non-null

Delivery method types that the function is associated with.

•ShopifyFunction!non-null

The ID for the fulfillment constraint function.

•ID!non-null

A globally-unique ID.

•Metafield

A custom field, including its namespace and key, that's associated with a Shopify resource for the purposes of adding and storing additional information.

•MetafieldConnection!non-null

A list of custom fields that a merchant associates with a Shopify resource.


Was this section helpful?

•query

The fulfillment constraint rules that belong to a shop.


Was this section helpful?

•mutation

Creates a fulfillment constraint rule and its metafield.

Arguments

•[DeliveryMethodType!]!required

Associate the function with one or multiple delivery method types.

•String!required

The identifier of the function providing the constraint rule.

•[MetafieldInput!]Default:[]

Metafields to associate to the fulfillment constraint rule.


Fields

Anchor to fulfillmentConstraintRulefulfillmentConstraintRule
•FulfillmentConstraintRule

The newly created fulfillment constraint rule.

•[FulfillmentConstraintRuleCreateUserError!]!non-null

The list of errors that occurred from executing the mutation.

•mutation

Update a fulfillment constraint rule.

Arguments

•[DeliveryMethodType!]!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.


Fields

Anchor to fulfillmentConstraintRulefulfillmentConstraintRule
•FulfillmentConstraintRule

The updated fulfillment constraint rule.

•[FulfillmentConstraintRuleUpdateUserError!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?


Was this section helpful?
OSZAR »