fulfillment Order Close
Requires access scope. Also: The user must have fulfill_and_ship_orders permission.
Marks an in-progress fulfillment order as incomplete, indicating the fulfillment service is unable to ship any remaining items, and closes the fulfillment request.
This mutation can only be called for fulfillment orders that meet the following criteria:
- Assigned to a fulfillment service location,
- The fulfillment request has been accepted,
- The fulfillment order status is
.
This mutation can only be called by the fulfillment service app that accepted the fulfillment request. Calling this mutation returns the control of the fulfillment order to the merchant, allowing them to move the fulfillment order line items to another location and fulfill from there, remove and refund the line items, or to request fulfillment from the same fulfillment service again.
Closing a fulfillment order is explained in the fulfillment service guide.
Arguments
- •ID!required
The ID of the fulfillment order to mark as incomplete.
- Anchor to messagemessage•String
An optional reason for marking the fulfillment order as incomplete.
- Anchor to fulfillmentOrderfulfillment•Fulfillment
Order Order The fulfillment order that was marked as incomplete.
- Anchor to userErrorsuser•[User
Errors Error!]!non-null The list of errors that occurred from executing the mutation.