Skip to content

order_closed

The order is cancelled or refunded

BetaAPI v2 is in public beta: endpoints, fields and behaviour can change before general availability. See the changelog

Last updated

Code: order_closed · HTTP status: usually 422

Shipping updates are not sent for cancelled or refunded orders.

Skip this order.

{
"code": "order_closed",
"type": "https://docs.stoqapp.com/v2/docs/api-v2/errors/order-closed/",
"title": "The order is cancelled or refunded",
"status": 422,
"detail": "Shipping updates are not sent for cancelled or refunded orders. Skip this order.",
"errors": [
"Shipping updates are not sent for cancelled or refunded orders"
],
"details": [
{
"code": "order_closed",
"message": "Shipping updates are not sent for cancelled or refunded orders",
"path": null,
"value": null,
"expected": null
}
]
}

Every API v2 and MCP failure carries code and a type link to its page here. See Errors & Responses for the full envelope.

Was this page helpful?

Still stuck? Ask Quinn or chat with support