assignFulfillmentProfile
Assigns a fulfillment profile to a fulfillment.
The profile governs how the fulfillment progresses through its lifecycle.
Business Rules
- The fulfillment and the profile must belong to the same company.
Error Scenarios
- **
NOT_FOUND**: when the fulfillment or the profile does not exist. - **
BAD_REQUEST**: when the fulfillment and profile belong to different companies.
Permissions Required
orders:assign_fulfillment_profilepermission
assignFulfillmentProfile(
input: AssignFulfillmentProfileInput!
): OrderFulfillment!
Arguments
assignFulfillmentProfile.input ● AssignFulfillmentProfileInput! non-null input common
Parameters for AssignFulfillmentProfile
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.