Skip to main content
Anchor to FulfillmentConstraintRule

FulfillmentConstraintRule

object

Requires read_fulfillment_constraint_rules access scope.

A fulfillment constraint rule.

•[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.

Arguments

•String!
required

The key for the metafield.

•String

The container the metafield belongs to. If omitted, the app-reserved namespace will be used.


•MetafieldConnection!
non-null

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

Arguments

•String

The elements that come after the specified cursor.

•String

The elements that come before the specified cursor.

•Int

The first n elements from the paginated list.

•[String!]

List of keys of metafields in the format namespace.key, will be returned in the same format.

•Int

The last n elements from the paginated list.

•String

The metafield namespace to filter by. If omitted, all metafields are returned.

•Boolean
Default:false

Reverse the order of the underlying list.



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

The handle of the function providing the constraint rule.

•String
Deprecated
•[MetafieldInput!]
Default:[]

Metafields to associate to the fulfillment constraint rule.


•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.



Was this section helpful?

•interface

Was this section helpful?