Cancelar Pedido
Cancelar Pedido
DELETE https://api.gestao.plus/order-external/:orderId
Com esta rota você pode cancelar um pedido.
Path Parameters
Name
Type
Description
orderId*
string
ID do pedido
q
string
Motivo do cancelamento (Opcional)
Headers
Name
Type
Description
x-api-key*
string
Token de acesso ERP
Origin*
string
URL de origem
{
"type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html",
"title": "Unknown",
"status": 200,
"detail": "Order successfully canceled"
}{
"type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html",
"title": "Forbidden",
"status": 403,
"detail": "Forbidden (Invalid token)"
}{
"type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html",
"title": "Forbidden",
"status": 403,
"detail": "Forbidden, invalid key (x-api-key)"
}{
"type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html",
"title": "Not Found",
"status": 404,
"detail": "Order not found"
}Last updated
Was this helpful?