--- title: FulfillmentConstraintRule - GraphQL Admin description: A fulfillment constraint rule. api_version: 2025-10 api_name: admin type: object api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/objects/FulfillmentConstraintRule md: https://shopify.dev/docs/api/admin-graphql/latest/objects/FulfillmentConstraintRule.md --- # Fulfillment​Constraint​Rule object Requires `read_fulfillment_constraint_rules` access scope. A fulfillment constraint rule. ## Fields * delivery​Method​Types [\[Delivery​Method​Type!\]!](https://shopify.dev/docs/api/admin-graphql/latest/enums/DeliveryMethodType) non-null Delivery method types that the function is associated with. * function [Shopify​Function!](https://shopify.dev/docs/api/admin-graphql/latest/objects/ShopifyFunction) non-null The ID for the fulfillment constraint function. * id [ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID) non-null A globally-unique ID. * metafield [Metafield](https://shopify.dev/docs/api/admin-graphql/latest/objects/Metafield) A [custom field](https://shopify.dev/docs/apps/build/custom-data), including its `namespace` and `key`, that's associated with a Shopify resource for the purposes of adding and storing additional information. * metafields [Metafield​Connection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/MetafieldConnection) non-null A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data) that a merchant associates with a Shopify resource. *** ## Map No referencing types *** ## Queries * [fulfillment​Constraint​Rules](https://shopify.dev/docs/api/admin-graphql/latest/queries/fulfillmentConstraintRules) query The fulfillment constraint rules that belong to a shop. *** ## \FulfillmentConstraintRule Queries ### Queried by * \[fulfillment​Constraint​Rules](https://shopify.dev/docs/api/admin-graphql/latest/queries/fulfillmentConstraintRules) *** ## Mutations * [fulfillment​Constraint​Rule​Create](https://shopify.dev/docs/api/admin-graphql/latest/mutations/fulfillmentConstraintRuleCreate) mutation Creates a fulfillment constraint rule and its metafield. * [fulfillment​Constraint​Rule​Update](https://shopify.dev/docs/api/admin-graphql/latest/mutations/fulfillmentConstraintRuleUpdate) mutation Update a fulfillment constraint rule. *** ## <\~> FulfillmentConstraintRule Mutations ### Mutated by * <\~>[fulfillment​Constraint​Rule​Create](https://shopify.dev/docs/api/admin-graphql/latest/mutations/fulfillmentConstraintRuleCreate) * <\~>[fulfillment​Constraint​Rule​Update](https://shopify.dev/docs/api/admin-graphql/latest/mutations/fulfillmentConstraintRuleUpdate) *** ## Interfaces * * [Has​Metafields](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/HasMetafields) interface * [Node](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/Node) interface *** ## ||-FulfillmentConstraintRule Implements ### Implements * ||-[Has​Metafields](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/HasMetafields) * ||-[Node](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/Node)