registerFulfillmentRule
Registers a new fulfillment rule for the current company.
Business Rules
- The name is required and must be at most 255 characters.
- The name must be unique within the company.
Error Scenarios
- **
NOT_FOUND**: when the company does not exist. - **
BAD_REQUEST**: when the name is missing, too long, or already in use.
Permissions Required
orders:register_fulfillment_profilepermission
registerFulfillmentRule(
input: RegisterFulfillmentRuleInput!
): FulfillmentRule
Arguments
registerFulfillmentRule.input ● RegisterFulfillmentRuleInput! non-null input common
Parameters for RegisterFulfillmentRule
Type
FulfillmentRule object orders
Fulfillment Rule
A reusable set of rules that defines how a fulfillment is processed. A fulfillment rule is owned by a company and is assigned to fulfillments to govern how they progress through the fulfillment state machine.