Skip to content
Esc
↑↓navigate↵open⌘Jpreview

Get order history

Retrieves a chronological list of all changes made to an order, including status transitions, address updates, and line modifications.

GET/api/v1/{team_slug}/{app_slug}/orders/{order_id}/history
Authorization
AuthorizationBearer token · headerrequired

Management API token, sent as Authorization: Bearer <token>.

Path parameters
app_slugstringrequired

App slug

team_slugstringrequired

Team slug

order_idstringrequired

Order ID (UUID)

Responses
200

Order history retrieved successfully

datainternal_pkg_webserver_v1.OrderHistoryResponse[]required
Show properties
Array of internal_pkg_webserver_v1.OrderHistoryResponse
change_typestring
from_statusstring | null
happened_atstring
linesinternal_pkg_webserver_v1.OrderHistoryLineResponse[]
Show properties
Array of internal_pkg_webserver_v1.OrderHistoryLineResponse
deletedboolean
from_quantityinteger | null
history_idstring
order_line_idstring
product_variant_idstring
to_quantityinteger | null
order_idstring
to_statusstring | null
detailsstring[]

Additional contextual information about the response. Used to provide supplementary details beyond the main data payload, such as validation warnings or processing notes

successbooleanrequired
400

Invalid order ID format

detailsstring[]
messagestring
successbooleanrequired
401

Unauthorized access

detailsstring[]
messagestring
successbooleanrequired
404

Order not found

detailsstring[]
messagestring
successbooleanrequired
500

Internal server error

detailsstring[]
messagestring
successbooleanrequired
Try it
Server
Authorization
Parameters
Request
curl -X GET 'https://api.enad.io/api/v1/string/string/orders/string/history' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json'
Response
{
  "data": [
    {
      "change_type": "string",
      "from_status": "string",
      "happened_at": "string",
      "lines": [
        {
          "deleted": true,
          "from_quantity": 0,
          "history_id": "string",
          "order_line_id": "string",
          "product_variant_id": "string",
          "to_quantity": 0
        }
      ],
      "order_id": "string",
      "to_status": "string"
    }
  ],
  "details": [
    "string"
  ],
  "success": true
}