Close Stock Advice
The process of closing a stock advice depends on its current status.
Closing a stock advice in the “awaiting_inbound" status:
If a stock advice is closed while in the “awaiting_inboud” status, the notice processing is effectively canceled or paused.
-
The warehouse will not start processing the stock advice.
-
The warehouse will not expect any goods related to this notice.
Closing a stock advice in the “partially_finished" status:
When a stock advice is in the “partially_finished” status, some goods have already been received, but others are still missing. At this stage, you have two options:
-
Complete the shipment – Ensure the remaining goods are delivered if they are essential.
-
Close the Stock Advice – Mark the process as completed, even if some goods are missing.
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 stock advice identifier. Example: |
Response
If successful, the API returns the stock advice entity in JSON format.
See more details in the API Doc.
Cancel Multiple Stock Advices
Cancels an stock advice in Mailship. The stock advices are deleted from the system.
Request structure
|
Endpoint: |
|
|
URL (prod): |
|
|
Headers: |
|
|
Request body: |
An array of stock advice IDs for cancellation. |
|
Request Example (cURL): |
|
Path parameter:
|
Parameter |
Type |
Required |
Description |
|---|---|---|---|
|
|
string |
✅ |
The unique stock advice identifier. Example: |
Response
If successful, the API returns 204 No Content.
See more details in the API Doc.
Delete Stock Advice
Permanently removes an stock advice 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 stock advice identifier. Example: |
Response
If successful, the API returns 204 No Content.
See more details in the API Doc.