Confirm pack is completed
POST REST API request for merchants, requiring a JSON body and an authorization token, in order to confirm packing is completed and that a shipment should be created.
Request
HTTP Method | POST | |||||
URL | Stage | https://api.stage.ananastest.com/order/api/v1/merchant-integration/outbound-orders/{suborderId}/pack | ||||
Production | https://api.ananas.rs/order/api/v1/merchant-integration/outbound-orders/{suborderId}/pack | |||||
HTTP Headers |
|
Example of the request
JSON:
{
"numberOfBoxes": 1,
"products": [
{
"id": 2,
"quantity": 2,
},
{
"id": 3,
"quantity": 3,
},
],
}
Response
The endpoint will return status 204 - No Content.