Skip to content
Elara One docs
CRM

Get field history

GET
/v1/merchant/crm/{type}/{id}/history

Authorization

tenantKeybearerAuth
headerX-Tenant-Key<token>

The public store key (pk_live_…). Required on every call.

headerAuthorizationBearer <token>

A customer token from POST /v1/auth/login, or a merchant API key, on routes that need one.

Path Parameters

type*string
id*integer

Query Parameters

filter[updated_since]?string
Formatdate-time
filter[due_before]?string
Formatdate-time
filter[due_after]?string
Formatdate-time
filter[custom][]?array<string>
sort?string
Lengthlength <= 40
perPage?integer
Range1 <= value <= 100
cursor?string
Lengthlength <= 1024

Header Parameters

X-Client-IP?string

Optional. IP address of the shopper (one IPv4/IPv6, no port, no list). Honoured only together with a valid X-Tenant-Secret; ignored otherwise. Used for rate limits and recorded with form submissions.

X-Tenant-Secret?string

Optional here. Server secret of the store: server-to-server only, never from a browser. Enables X-Client-IP.

Response Body

A page of results, with links and meta.

application/json
  1. response
data*array<>
links*
meta*
Example Request
curl -X GET 'https://api.elaraone.app/api/v1/merchant/crm/string/0/history' \  -H 'X-Tenant-Key: pk_live_…' \  -H 'X-Tenant-Secret: your-server-secret'
Example Response
{  "data": [    {      "id": 0,      "field": "string",      "old_value": null,      "new_value": null,      "actor": {        "type": "string",        "id": 0,        "ref": "string"      },      "changed_at": "string",      "redacted": true    }  ],  "links": {    "first": "string",    "last": "string",    "prev": "string",    "next": "string"  },  "meta": {    "path": "string",    "per_page": 0,    "next_cursor": "string",    "prev_cursor": "string"  }}