API Reference
//
Get Variants Changelog
Returns the changelog entries recorded across the tenant's Variants, filtered and paged via OData query options.
Requires a valid API key in the X-API-KEY header.
Supports $filter, $orderby, $top, $skip over the changelog fields. $select, $expand and $skipToken are not supported by this endpoint.
200 OK — Collection of changelog entries (CollectionRepresentation).
- 400 Bad Request — Invalid OData expression.
- 401 Unauthorized — Missing or invalid API key. Returned by the API gateway as
{ "message": "Unauthorized", "request_id": "d8aafa5b8f3e400b60bea0123dd33317" }. - 500 Internal Server Error — Unexpected technical error.
Request:
GET /Variants/Changelog?$orderby=changedAt desc&$top=50 HTTP/1.1
X-API-KEY: your-api-key-hereResponse:
HTTP/1.1 200 OK
Content-Type: application/jsonGET
curl -i -X GET \
'https://api2.saleslayer.com/catalog/Variants/Changelog?%24filter=string&%24orderby=string&%24top=0&%24skip=0' \
-H 'X-API-KEY: string'Response
{ "@readLink": "string", "@nextLink": "string", "@deltaLink": "string", "@context": "string", "value": null, "@count": 0 }