Confirm outbound Master Order quantities
PUT REST API request for merchants, requiring a JSON body and an authorization token, to confirm master order quantities for each item. For each item, it is necessary to pass the warehouseAddressId.
Request
HTTP Method | PUT | |||||
URL | Stage | https://api.stage.ananastest.com/order/api/v1/merchant-integration/orders/{orderId}/confirm | ||||
Production | https://api.ananas.rs/order/api/v1/merchant-integration/orders/{orderId}/confirm | |||||
HTTP Headers |
|
Example of the request:
[
{
"merchantInventoryId": 1,
"confirmedQuantities": [
{
"warehouseAddressId": 1,
"quantity": 4,
},
{
"warehouseAddressId": 2,
"quantity": 3,
},
],
},
{
"merchantInventoryId": 2,
"confirmedQuantities": [
{
"warehouseAddressId": 3,
"quantity": 2,
},
{
"warehouseAddressId": 4,
"quantity": 1,
},
],
},
];
Response
The endpoint will return status 201 - Created.