API Reference
//
Get Custom Entities Chang...
Returns the changelog entries for a Custom Entity type, identified by its denominator, as a collection. Supports OData query options to filter, order and page the results.
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 for the specified Custom Entity type.
- 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 /CustomEntities('Brand')/Changelog?$top=20 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/CustomEntities('\''{customEntityDenominator}'\'')/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 }