Atualizar rastreio
curl --request PATCH \
--url https://apiv3.usecorvex.com.br/api/v1/orders/{orderId}/tracking \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-Store-Id: <x-store-id>' \
--data '
{
"trackingCode": "AB123456789BR",
"trackingUrl": "https://rastreio.example.com/AB123456789BR",
"trackingStatus": "in_transit"
}
'const options = {
method: 'PATCH',
headers: {
'X-Store-Id': '<x-store-id>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
trackingCode: 'AB123456789BR',
trackingUrl: 'https://rastreio.example.com/AB123456789BR',
trackingStatus: 'in_transit'
})
};
fetch('https://apiv3.usecorvex.com.br/api/v1/orders/{orderId}/tracking', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://apiv3.usecorvex.com.br/api/v1/orders/{orderId}/tracking"
payload = {
"trackingCode": "AB123456789BR",
"trackingUrl": "https://rastreio.example.com/AB123456789BR",
"trackingStatus": "in_transit"
}
headers = {
"X-Store-Id": "<x-store-id>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"success": true,
"data": {
"order": {
"id": "66666666-6666-4666-8666-666666666666",
"trackingCode": "AB123456789BR",
"trackingUrl": "https://rastreio.example.com/AB123456789BR",
"trackingStatus": "in_transit"
}
}
}{
"success": false,
"error": {
"message": "Código de rastreio inválido",
"code": "VALIDATION_ERROR"
},
"meta": {
"timestamp": "2026-09-24T14:00:00.000Z",
"status": 400
}
}{
"success": false,
"error": {
"message": "Esta rota exige uma API Key. Use Authorization: Bearer cvx_live_...",
"code": "AUTH_API_KEY_REQUIRED"
},
"meta": {
"timestamp": "2026-09-24T14:00:00.000Z",
"status": 401
}
}{
"success": false,
"error": {
"message": "Sua API Key não tem o escopo necessário para esta operação.",
"code": "AUTH_SCOPE_DENIED"
},
"meta": {
"timestamp": "2026-09-24T14:00:00.000Z",
"status": 403
}
}{
"success": false,
"error": {
"message": "Recurso não encontrado",
"code": "RESOURCE_NOT_FOUND"
},
"meta": {
"timestamp": "2026-09-24T14:00:00.000Z",
"status": 404
}
}{
"success": false,
"message": "Muitas requisições. Tente novamente em instantes.",
"error": "RATE_LIMITED",
"retryAfter": 12
}Rastreio
Atualizar rastreio
PATCH
/
api
/
v1
/
orders
/
{orderId}
/
tracking
Atualizar rastreio
curl --request PATCH \
--url https://apiv3.usecorvex.com.br/api/v1/orders/{orderId}/tracking \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-Store-Id: <x-store-id>' \
--data '
{
"trackingCode": "AB123456789BR",
"trackingUrl": "https://rastreio.example.com/AB123456789BR",
"trackingStatus": "in_transit"
}
'const options = {
method: 'PATCH',
headers: {
'X-Store-Id': '<x-store-id>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
trackingCode: 'AB123456789BR',
trackingUrl: 'https://rastreio.example.com/AB123456789BR',
trackingStatus: 'in_transit'
})
};
fetch('https://apiv3.usecorvex.com.br/api/v1/orders/{orderId}/tracking', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://apiv3.usecorvex.com.br/api/v1/orders/{orderId}/tracking"
payload = {
"trackingCode": "AB123456789BR",
"trackingUrl": "https://rastreio.example.com/AB123456789BR",
"trackingStatus": "in_transit"
}
headers = {
"X-Store-Id": "<x-store-id>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"success": true,
"data": {
"order": {
"id": "66666666-6666-4666-8666-666666666666",
"trackingCode": "AB123456789BR",
"trackingUrl": "https://rastreio.example.com/AB123456789BR",
"trackingStatus": "in_transit"
}
}
}{
"success": false,
"error": {
"message": "Código de rastreio inválido",
"code": "VALIDATION_ERROR"
},
"meta": {
"timestamp": "2026-09-24T14:00:00.000Z",
"status": 400
}
}{
"success": false,
"error": {
"message": "Esta rota exige uma API Key. Use Authorization: Bearer cvx_live_...",
"code": "AUTH_API_KEY_REQUIRED"
},
"meta": {
"timestamp": "2026-09-24T14:00:00.000Z",
"status": 401
}
}{
"success": false,
"error": {
"message": "Sua API Key não tem o escopo necessário para esta operação.",
"code": "AUTH_SCOPE_DENIED"
},
"meta": {
"timestamp": "2026-09-24T14:00:00.000Z",
"status": 403
}
}{
"success": false,
"error": {
"message": "Recurso não encontrado",
"code": "RESOURCE_NOT_FOUND"
},
"meta": {
"timestamp": "2026-09-24T14:00:00.000Z",
"status": 404
}
}{
"success": false,
"message": "Muitas requisições. Tente novamente em instantes.",
"error": "RATE_LIMITED",
"retryAfter": 12
}Authorizations
API Key no formato cvx_live_..., criada no painel Corvex. Não use JWT de sessão nem x-api-key.
Headers
UUID da loja. A chave precisa ter esta loja autorizada.
Path Parameters
Body
application/json
Response
Rastreio atualizado.