Anchor to FulfillmentConstraintRuleCreateUserErrorCodeFulfillment
enumFulfillment Constraint Rule Create User Error Code
Possible error codes that can be returned by .
Anchor to Valid valuesValid values
- Anchor to CUSTOM_APP_FUNCTION_NOT_ELIGIBLECUSTOM_APP_FUNCTION_NOT_ELIGIBLE
Shop must be on a Shopify Plus plan to activate functions from a custom app.
- Anchor to FUNCTION_ALREADY_REGISTEREDFUNCTION_ALREADY_REGISTERED
A fulfillment constraint rule already exists for the provided function_id.
- Anchor to FUNCTION_DOES_NOT_IMPLEMENTFUNCTION_DOES_NOT_IMPLEMENT
Function does not implement the required interface for this fulfillment constraint rule.
- Anchor to FUNCTION_NOT_FOUNDFUNCTION_NOT_FOUND
No Shopify Function found for provided function_id.
- Anchor to FUNCTION_PENDING_DELETIONFUNCTION_PENDING_DELETION
Function is pending deletion and cannot have new rules created against it.
- Anchor to INPUT_INVALIDINPUT_INVALID
Failed to create fulfillment constraint rule due to invalid input.
- Anchor to MAXIMUM_FULFILLMENT_CONSTRAINT_RULES_REACHEDMAXIMUM_FULFILLMENT_CONSTRAINT_RULES_REACHED
Maximum number of fulfillment constraint rules reached. Limit is 10.
Was this section helpful?