Mark suborder as in Transit
POST REST API request for Ino MTO merchants. This endpoint is used when the merchant loads the goods into the truck (or another transport vehicle) and the shipment starts its route toward Serbia. The endpoint updates the suborder’s status_context to IN_TRANSIT.
The endpoint requires exactly one path parameter — suborderId. When invoked, the service validates the suborder and sets its status_context to IN_TRANSIT.
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 eligibility
The suborder must satisfy both of the following conditions:
- status is
PACKEDorPARTIALLY_PACKED - status_context is
null
If these conditions are not met, the API returns:
Suborder is not in correct state for updating status context to IN_TRANSITRequest
| HTTP Method | POST | |||||
| URL | QA2 | https://api.qa2.ananastest.com/order/api/v1/merchant-integration/outbound-orders/{suborderId}/packInTransit | ||||
| Production | https://api.ananas.rs/order/api/v1/merchant-integration/outbound-orders/{suborderId}/packInTransit | |||||
| HTTP Headers |
|
Examples:
https://api.qa2.ananastest.com/order/api/v1/merchant-integration/outbound-orders/8G0DV-WT7O9-DS-1 /packInTransit
https://api.ananas.rs/order/api/v1/merchant-integration/outbound-orders/8G0DV-WT7O9-DS-1 /packInTransit
Response
The endpoint will return status 204 - No Content.