Sending Expedition to WMS
Each expedition created in Mailship via POST /api/expedition must be sent to our WMS (our warehouse management system).
Creating an expedition alone assigns it the “on_hold” status. It remains in this state until processed. The PUT /api/expedition/{id}/send endpoint triggers the processing of the order, initiating its transition into our WMS for picking, packing, and shipping.
Send Expedition to WMS
Send the expedition for processing.
Request structure
Endpoint: | |
URL (prod): | |
Headers: |
CODE
|
Request body: | None (this request does not require a body). Optional body:
CODE
However, using no request body is preferred. |
Request Example (cURL): |
CODE
|
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.
Process Expedition to WMS
This endpoint is designed for expeditions with the “to_be_confirmed” status. Once an order reaches this state, you can trigger this endpoint to send expeditions to WMS for processing without using the Send Expedition to WMS endpoint.
Request structure
Endpoint: | |
URL (prod): | |
Headers: |
CODE
|
Request body: | None (this request does not require a body). |
Request Example (cURL): |
CODE
|
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.
Send multiple Expedition to WMS
Send multiple expeditions for processing.
Request structure
Endpoint: | |
URL (prod): | |
Headers: |
CODE
|
Request body: | An array of expedition IDs for processing. |
Request Example (cURL): |
CODE
|
Response
If successful, the API returns 204 No Content.
See more details in the API Doc.
Continutie multiple Expedition to WMS
Send multiple expeditions for processing from the “to_be_confirmed” status.
Request structure
Endpoint: | |
URL (prod): | |
Headers: |
CODE
|
Request body: | An array of expedition IDs for processing. |
Request Example (cURL): |
CODE
|
Response
If successful, the API returns 204 No Content.
See more details in the API Doc.