Change cursor — products changed since a sequence number
GET
/v1/catalog/products/changes
const url = 'https://api.oldsteelarsenal.com/v1/catalog/products/changes?since=&limit=5000';const options = { method: 'GET', headers: { 'x-client-id': '<x-client-id>', 'x-signature': '<x-signature>', 'x-timestamp': '<x-timestamp>' }};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.oldsteelarsenal.com/v1/catalog/products/changes?since=&limit=5000' \ --header 'x-client-id: <x-client-id>' \ --header 'x-signature: <x-signature>' \ --header 'x-timestamp: <x-timestamp>'Like /changes, across every distributor and by product: each product whose offers changed — or that an offer left on a UPC change — appears once. The cursor holds one sequence number per distributor (each house commits in sequence order; the global sequence does not): omit since on the first call, then pass back cursor while more. limit is per distributor. Scope: catalog:read.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters”since
Since
string
limit
Limit
integer
Header Parameters
Section titled “Header Parameters”Responses
Section titled “ Responses ”Successful Response
Media typeapplication/json
ProductChangesResponse
object
cursor
required
Cursor
One sequence number per distributor (rsr:120;ss:95) — pass it back as since.
string
keys
required
Keys
Array<string>
more
required
More
boolean
Examplegenerated
{ "cursor": "example", "keys": [ "example" ], "more": true}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}