Rollback expedition
Rollback is an action that returns the order to the “on_hold” status. You can keep the order in this status or update it before sending it to WMS.
Request structure
|
Endpoint: |
|
|
URL (prod): |
|
|
Headers: |
|
|
Request body: |
None (this request does not require a body). |
|
Request Example (cURL): |
|
Path parameter:
|
Parameter |
Type |
Required |
Description |
|---|---|---|---|
|
|
string |
✅ |
The unique expedition identifier. Example: |
Response
If successful, the API returns the expedition entity in JSON format.
See more details in the API Doc.
Cancel Expedition
Cancels an expedition in Mailship. The expedition status is updated to canceled but remains in the system.
Request structure
|
Endpoint: |
|
|
URL (prod): |
|
|
Headers: |
|
|
Request body: |
None (this request does not require a body). |
|
Request Example (cURL): |
|
Path parameter:
|
Parameter |
Type |
Required |
Description |
|---|---|---|---|
|
|
string |
✅ |
The unique expedition identifier. Example: |
Response
If successful, the API returns 204 No Content.
See more details in the API Doc.
Cancel multiple Expeditions
Cancels multiple expeditions in Mailship. The expeditions will receive the “canceled” status but remain in the system.
Request structure
|
Endpoint: |
|
|
URL (prod): |
|
|
Headers: |
|
|
Request body: |
An array of expedition IDs for cancellation. |
|
Request body Example: |
|
Response
If successful, the API returns 204 No Content.
See more details in the API Doc.
Delete Expedition
Permanently removes an expedition from Mailship.
Request structure
|
Endpoint: |
|
|
URL (prod): |
|
|
Headers: |
|
|
Request body: |
None (this request does not require a body). |
|
Request Example (cURL): |
|
Path parameter:
|
Parameter |
Type |
Required |
Description |
|---|---|---|---|
|
|
string |
✅ |
The unique expedition identifier. Example: |
Response
If successful, the API returns 204 No Content.
See more details in the API Doc.