get
https://{store}/api/rest/products//audit_log
Retrieves the audit log of one product: every change made to it in the admin, by the API, by imports and by orders, with who made it and when. Read-only.
Returns 404 if the product doesn't exist.
| Param | Type | Notes | Required |
|---|---|---|---|
| since_id | integer | Only rows with an audit_id greater than this. Default 0. To read the whole log, call again with the last audit_id you received until the list is empty. | No |
| limit | integer | 1 to 100. Default 100. | No |
| action | string | Exact action text, e.g. Price Changed, Is Restricted Changed, Restriction Changed. | No |
| area | string | Where the change came from (exact): Admin, API, Customer, Customer (Order), ... | No |
| from | string | UTC. YYYY-MM-DD or YYYY-MM-DD HH:MM:SS, compared with action_date. | No |
| to | string | UTC. YYYY-MM-DD or YYYY-MM-DD HH:MM:SS. A date without a time covers that whole day. | No |
Each entry
| Field | Type | Notes |
|---|---|---|
| audit_id | integer | Increases with every change. Use it as since_id to get the next page. |
| product_id | integer | |
| sku | string | null if the product has since been deleted. |
| action | string | What changed, e.g. Price Changed. |
| area | string | Admin, API, Customer, ... |
| action_by | string | Who made the change (admin user or API user). |
| action_date | string | UTC, YYYY-MM-DD HH:MM:SS. |
| state, state_key | string | Entries written by the same save share a state_key. |
| details | array | The change details as shown in the admin's Audit Log tab. |
| change | object | {field, old_value, new_value} when the entry is a single field change, otherwise null. |
Entries are returned oldest first. Unknown parameters and invalid values return 400 with a message.
Permissions: REST roles need Catalog > Product > Product Audit Log allowed. Key and secret integrations have access to every REST resource.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
