Pack suborder on the border
POST REST API request for Ino MTO merchants. This endpoint updates the suborder status to indicate that the goods have reached the customs / border checkpoint by setting the suborder’s status_context to PACKED_ON_THE_BORDER.
The endpoint requires exactly one path parameter — suborderId. When invoked, the service performs the status-context transition to PACKED_ON_THE_BORDER.
Merchant eligibility
- The merchant must be marked as Ino MTO or Wholeseller.
- If not, the API returns the following error:
Merchant is not enabled for wholesaler or INO MTO functionalitiesSuborder eligibility
The suborder must satisfy both of the following conditions:
- status is
PACKEDorPARTIALLY_PACKED - status_context is
IN_TRANSIT
If these conditions are not met, the API returns:
Suborder is not in correct state for updating status context to ON_THE_BORDERRequest
| HTTP Method | POST | |||||
| URL | QA2 | https://api.qa2.ananastest.com/order/api/v1/merchant-integration/outbound-orders/{suborderId}/packOnTheBorder | ||||
| Production | https://api.ananas.rs/order/api/v1/merchant-integration/outbound-orders/{suborderId}/packOnTheBorder | |||||
| HTTP Headers |
|
Examples:
https://api.qa2.ananastest.com/order/api/v1/merchant-integration/outbound-orders/8G0DV-WT7O9-DS-1 /packOnTheBorder
https://api.ananas.rs/order/api/v1/merchant-integration/outbound-orders/8G0DV-WT7O9-DS-1 /packOnTheBorder
Response
The endpoint will return status 204 - No Content.