Add shipment status
POST REST API request for suppliers, requiring a JSON body and an authorization token, in order to add a new status of the shipment.
Request
| HTTP Method | POST |
| URL | Stage | https://api.qa2.ananastest.com/ws-inventory/api/v1/supplier-integration/shipment/{shipmentId}/statuses |
| Production | https://api.ananas.rs/ws-inventory/api/v1/supplier-integration/shipment/{shipmentId}/statuses |
| HTTP Headers | | | Header name | Header value | | Authorization | Bearer {access_token} |
|
Request Body:
| Fields name | Type | Description |
| status | String | Shipment status |
Example of the request:
{
"status": "AT_THE_AIRPORT",
}
Success Response
The endpoint will return status 204 - No Content.