---
title: "GET order audit history"
method: GET
path: "/orders/{order_id}/audit-history"
tags: ["Order Audit History"]
---

# GET order audit history

`GET /orders/{order_id}/audit-history`

## Request

- Base URL: `https://api.equipmentshare.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.equipmentshare.com/orders/{order_id}/audit-history`
- Auth: HTTP bearer

Retrieve audit history records for a single order by ID.

## Path parameters

- `order_id` integer, required

## Query parameters

- `page` integer
- `size` integer
- `order_audit_ref_type_id` integer
- `order_audit_event_type_id` integer
- `service_item_id` integer

## Response `200`

- OrderAuditHistoryResponse
  - `page` integer, required
  - `records` OrderAuditHistoryRecord[], required
    - `changes` OrderAuditHistoryChange[], nullable: Fields this event changed, with old and new values. Null when not recorded.
      - `field` string, required: Name of the changed field, e.g. sale_items_status.
      - `label` string, required: Display label for the field, e.g. Status.
      - `new` unknown, required
      - `old` unknown, required
    - `message` string, nullable
    - `order_audit_event_type` OrderAuditHistoryEventType, required
      - `name` string, required
      - `order_audit_event_type_id` integer, required
    - `order_audit_history_id` integer, nullable, required: Null for records from other sources; use source and source_id.
    - `order_audit_ref_type` OrderAuditHistoryRefType, nullable
      - `name` string, required
      - `order_audit_ref_type_id` integer, required
    - `order_id` integer, required
    - `ref_id` integer, nullable
    - `rental_contract_snapshots` RentalContractSnapshot[], nullable: Invoice Created events only: each rental's contract terms when the invoice was generated.
      - `end_date` string, date-time, nullable, required
      - `price_per_day` number, float, nullable, required
      - `price_per_four_weeks` number, float, nullable, required: The month rate, when the company bills in four-week cycles.
      - `price_per_month` number, float, nullable, required
      - `price_per_week` number, float, nullable, required
      - `rental_id` integer, required
      - `rental_protection_plan` string, nullable, required: e.g. Standard Required RPP (15%) or RPP Exempt. Null when the invoice didn't record the plan.
      - `shift_type` string, nullable, required: e.g. Single.
      - `start_date` string, date-time, nullable, required
    - `source` string, required: Table the record comes from: order_audit_history or invoice_history. Records are unique by source and source_id.
    - `source_id` integer, required: The record's id in its source table.
    - `time_stamp` string, date-time, required
    - `user` OrderAuditHistoryUser, nullable
      - `first_name` string
      - `last_name` string
      - `user_id` integer, required
  - `size` integer, required
  - `total` integer, required

## Other responses

- `400`: Bad request – validation failed or malformed data.
- `401`: Unauthorized – valid Bearer token required.
- `403`: Forbidden – insufficient permissions to perform this action.
- `404`: Not Found – order not found with the given order id.

## Changes

- **2026-12-01** `40651e1558ac`: 1 info
  - added the media type `application/json` for the response with the status `200`
- **2026-12-01** `e598b74c6170`: 1 breaking
  - removed the media type `application/json` for the response with the status `200`
- **2026-11-30** `beba24fafb51`: 1 info
  - added the media type `application/json` for the response with the status `200`
- **2026-11-30** `c20ff16a0438`: 1 breaking
  - removed the media type `application/json` for the response with the status `200`
- **2026-11-30** `f6ee63f54e57`: 1 info
  - added the media type `application/json` for the response with the status `200`

[Operation history](https://skmtc.dev/equipmentshare/apis/es-api/changes/orders/:order_id/audit-history/get.md)

---

[API](https://skmtc.dev/equipmentshare/apis/es-api.md) - [All operations](https://skmtc.dev/equipmentshare/apis/es-api/llms.txt) - [OpenAPI document](https://skmtc.dev/equipmentshare/apis/es-api/revisions/40651e1558ac?raw)
