Our API allows you to update shipment statuses for better tracking and management. The updateOrder
endpoint supports updating the status of an order to specific allowed statuses, including:
- Picked Up
- Delivered
- Returned
This guide explains how to use the updateOrder
endpoint to change shipment statuses.
Instructions
Step 1: API Endpoint
- The endpoint to update shipment status is:
POSThttps://api.tryoto.com/rest/v2/updateOrder
Step 2: Authorization
- Include a valid Bearer Token in the request headers for authentication.
Step 3: Example Request
- Here is an example of a request to update a shipment’s status to "delivered":
Using cURL:
Step 4: Example Response
- A successful response will look like this:
This endpoint works only for the mentioned statuses, for updating shipments to other statuses ; kindly contact support.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article