Allocate courier for suborder
POST REST API request for Ino MTO merchants. This endpoint allocates a courier for the suborder without scheduling the pickup time, since the goods have not yet arrived in Serbia. The endpoint sets the suborder’s status to PACKED and its status_context to null.
The endpoint requires exactly one path parameter — suborderId. When invoked, the service allocates a courier for the suborder.
Merchant eligibility
- The merchant must be marked as Ino MTO or Wholeseller.
- If not, the API returns:
Merchant is not enabled for wholesaler or INO MTO functionalitiesSuborder update
The endpoint performs the following updates on the suborder:
- status →
PACKEDorPARTIALLY_PACKED - status_context →
null
Request
| HTTP Method | POST | |||||
| URL | QA2 | https://api.qa2.ananastest.com/order/api/v1/merchant-integration/outbound-orders/{suborderId}/packAllocate | ||||
| Production | https://api.ananas.rs/order/api/v1/merchant-integration/outbound-orders/{suborderId}/packAllocate | |||||
| HTTP Headers |
|
Examples:
https://api.qa2.ananastest.com/order/api/v1/merchant-integration/outbound-orders/8G0DV-WT7O9-DS-1 /packAllocate
https://api.ananas.rs/order/api/v1/merchant-integration/outbound-orders/8G0DV-WT7O9-DS-1 /packAllocate
Response
The endpoint will return status 204 - No Content.