Skip to content

Order Histories

Order histories track status changes for orders over time.

REST API Endpoints

List Order Histories

GET/api/web/1.0/order-histories🔒 Bearer Token

Retrieve a paginated list of order status change history.

Query Parameters:

ParameterTypeRequiredDescription
per_pagenumberNoResults per page

Example Request:

bash
curl -X GET "https://your-domain.com/api/web/1.0/order-histories?per_page=50" \
  -H "Authorization: Bearer {token}" \
  -H "Accept: application/json"

Example Response (200):

json
{
  "data": [
    {
      "order_reference": "ORD-00001",
      "old_status": "new",
      "new_status": "shipped",
      "changed_by": "Admin Name",
      "changed_at": "2025-01-16T09:00:00Z"
    }
  ],
  "meta": { "current_page": 1, "per_page": 50, "total": 180 }
}

Dashboard Endpoints

List Order Histories

GET/orders-histories🔒 Session

Paginated list of order history entries in the dashboard.

Show Order History

GET/orders-histories/{order}/show🔒 Session

View the full status change history for a specific order.

WedoCOD Documentation