List sites and storage locations
Returns every site and storage location of the shop, inactive ones included.
GET
/inventory/sitesAuthorization
AuthorizationOAuth2 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.
Scopes:
inventory:readResponses
200
The sites
sitesSite[]requiredShow propertiesHide properties
Array of
Siteidstring<uuid>codestringnamestringkindstringcountryCodestringtimezonestringisActivebooleancreatedAtstring<date-time>updatedAtstring<date-time>locationsLocation[]Show propertiesHide properties
Array of
Locationidstring<uuid>siteIdstring<uuid>codestringnamestringkindstringisActivebooleancreatedAtstring<date-time>updatedAtstring<date-time>401
invalid_token: the token is missing, expired, or for another resource.
errorstringrequiredThe error code
scopestringWith insufficient_scope, the missing scope
403
One of insufficient_scope, connection_revoked, client_disabled or forbidden.
errorstringrequiredThe error code
scopestringWith insufficient_scope, the missing scope

