Updating the fulfillment status by fulfillment ID.
The fulfillment status must be updated in a specific sequence according to the fullfilment delivery method (fulfillment.delivery_method
).
For shipping
fulfillment, the statuses should be updated in the following order:
pending
→processing
→shipped
→canceled
Note: Updating the status in reverse, such as updating from shipped
to processing
, is not permitted.
Similarly, for pickup
fulfillment, the statuses should be updated in the following order:
pending
→processing
→ready_for_pickup
→picked_up
→canceled
The provided status sequences do not include any custom statuses. For custom statuses, please adhere to the sequence configured in the AfterShip Admin Portal.
Ensure that statuses are updated in the prescribed order to avoid any discrepancies.
The ID of the fulfillment.
This value equals to store.id
of Store
Resource. You can obtain this id by making a GET /stores call to get existing stores or a POST /stores to create a new store.
The status of the fulfillment. Depending of on the delivery_method
, the allowed values are different.Show all...
Indicates the time the status was updated, showing when the Doege occurred for the fulfillment, formatted in ISO 8601.