Read inventory changes
Returns changes to sites, storage locations and units after the cursor. data is the current value at read time, so the receiver only upserts by id. Without a cursor it starts from the beginning, which syncs everything. Nothing is deleted: deactivation shows in isActive, and a unit leaving stock shows in status.
Keep reading with nextCursor while hasMore is true.
/inventory/changesAuthorizationOAuth2 access token · headerrequiredAuthorization code flow (PKCE S256 required). Send resource=https://api.toreca-cloud.com/partner/v1 with the authorization, token and refresh requests. Access tokens last 15 minutes; refresh tokens last 90 days and rotate on every refresh.
inventory:readcursorstringThe previous nextCursor. Treat it as opaque.
limitintegerThe changes
changesChange[]requiredShow propertiesHide properties
Changetypestringrequiredsitelocationitemidstring<uuid>requireddataobjectrequiredThe site, storage location or unit as of read time. A unit has its asset number, status, location, card, grade, condition tags, photos, acquisition amount and more.
nextCursorstringrequiredhasMorebooleanrequiredinvalid_request or invalid_cursor
errorstringrequiredThe error code
scopestringWith insufficient_scope, the missing scope
invalid_token: the token is missing, expired, or for another resource.
errorstringrequiredThe error code
scopestringWith insufficient_scope, the missing scope
One of insufficient_scope, connection_revoked, client_disabled or forbidden.
errorstringrequiredThe error code
scopestringWith insufficient_scope, the missing scope

