Toreca Cloud Partner API
An API for external apps a shop has approved. Call it with the access token from the OAuth 2.1 authorization code flow (PKCE S256) in Authorization: Bearer. The token decides which shop’s data you work with.
Every response carries Cache-Control: no-store. Errors look like { "error": "code" }.
Version 1
Base URL
https://api.toreca-cloud.com/partner/v1Connection
Create, check and end the connection with a shop. Either read scope works.
- GETGet the connection
/connection - POSTCreate the connection
/connection - DELETEEnd the connection
/connection
Buy boosts
Cards and BOXes a shop is buying above its usual price. Readable with purchase-boosts:read.
Inventory
Sync of sites, storage locations and stock units. Needs inventory:read.
- GETList sites and storage locations
/inventory/sites - GETRead inventory changes
/inventory/changes - GETGet a unit's photo
/inventory/items/{id}/photos/{side}
Card catalog
Search Toreca Cloud’s card catalog. Needs inventory:read.
Change notifications
Register a webhook that tells you stock changed. Needs inventory:read.

