Skip to content

Get Variants Changelog

Request

Returns the changelog entries recorded across the tenant's Variants, filtered and paged via OData query options.

Authentication

Requires a valid API key in the X-API-KEY header.

OData Query Support

Supports $filter, $orderby, $top, $skip over the changelog fields. $select, $expand and $skipToken are not supported by this endpoint.

Response

200 OK — Collection of changelog entries (CollectionRepresentation).

Error Responses

  • 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.

Example

Request:

GET /Variants/Changelog?$orderby=changedAt desc&$top=50 HTTP/1.1
X-API-KEY: your-api-key-here

Response:

HTTP/1.1 200 OK
Content-Type: application/json
Query
$filterstring

OData $filter expression

$orderbystring

OData $orderby expression

$topinteger, (int64)

OData $top page size

$skipinteger, (int64)

OData $skip offset

Headers
X-API-KEYstring

Tenant's API key (required)

GET
/Variants/Changelog
curl -i -X GET \
  'https://api2.saleslayer.com/catalog/Variants/Changelog?%24filter=string&%24orderby=string&%24top=0&%24skip=0' \
  -H 'X-API-KEY: string'

Responses

OK

Bodyapplication/json
@contextstring or null
valueany or null
@countinteger or null, (int64)
Response
{ "@readLink": "string", "@nextLink": "string", "@deltaLink": "string", "@context": "string", "value": null, "@count": 0 }