Skip to main content

assignFulfillmentRule

Assigns a fulfillment rule to a fulfillment.

The fulfillment rule governs how the fulfillment progresses through its lifecycle.

Business Rules

  • The fulfillment and the fulfillment rule must belong to the same company.

Error Scenarios

  • **NOT_FOUND**: when the fulfillment or the fulfillment rule does not exist.
  • **BAD_REQUEST**: when the fulfillment and fulfillment rule belong to different companies.

Permissions Required

  • orders:assign_fulfillment_profile permission
assignFulfillmentRule(
input: AssignFulfillmentRuleInput!
): OrderFulfillment!

Arguments

assignFulfillmentRule.input ● AssignFulfillmentRuleInput! non-null input common

Parameters for AssignFulfillmentRule

Type

OrderFulfillment object orders

This type represents an order fulfillment. An order can have multiple fulfillments, each one associated with a warehouse and a party that fulfilled the order.