Update order tracking status
This endpoint sends a tracking event to an order that already has a tracking number registered to its invoice.
This request is not meant to send a tracking number and URL to the invoice. If you wish to send a tracking number and URL to an order, use the Update order's partial invoice endpoint. For more information, see Partial invoice scenarios.
This endpoint applies to orders with any shipping type, whether delivery or pickup.
Permissions
Any user or API key must have at least one of the appropriate License Manager resources to be able to successfully run this request. Otherwise they will receive a status code 403 error. These are the applicable resources for this endpoint:
| Product | Category | Resource |
|---|---|---|
| OMS | OMS access | Notify invoice |
You can create a custom role with that resource or use one of the following predefined roles:
| Role | Resource |
|---|---|
| OMS - Full access | Notify invoice |
| IntegrationProfile - Fulfillment Oms | Notify invoice |
❗ Assigning a predefined role to users or application keys usually grants permission to multiple License Manager resources. If some of these permissions are not necessary, consider creating a custom role instead. For more information regarding security, see Best practices for using application keys. To learn more about machine authentication at VTEX, see Authentication overview.
Path parameters
Order ID is a unique code that identifies an order.
Number that identifies the invoice.
Headers
Type of the content being sent.
HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.
Request body
Example request
{
"deliveredDate": "2022-10-01 21:15",
"events": [
{
"city": "Rio de Janeiro",
"state": "RJ",
"description": "Coletado pela transportadora",
"date": "2015-06-23"
}
]
}Response
OK