fulfillmentConstraintRuleCreate - admin-graphql - MUTATION
Version: 2024-07
Description:
Creates a fulfillment constraint rule and its metafield.
Access Scopes
`write_fulfillment_constraint_rules` access scope.
Arguments
-
functionId:
String! -
The identifier of the function providing the constraint rule.
-
metafields:
MetafieldInput -
Metafields to associate to the fulfillment constraint rule.
Returns
-
fulfillmentConstraintRule:
FulfillmentConstraintRule
The newly created fulfillment constraint rule.
-
userErrors:
FulfillmentConstraintRuleCreateUserError!
The list of errors that occurred from executing the mutation.
Examples