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" }. More than about 6000 requests per minute per OAuth client×shop returns 429 rate_limited (Retry-After / X-RateLimit-*). When the operator sets a source IP allowlist on the app, other addresses get 403 ip_not_allowed.
https://api.toreca-cloud.com/partner/v1Connection
Create, check and end the connection with a shop. Either read scope works.
- POSTCreate the connection
/connection - GETGet 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} - POSTRead current market values
/inventory/market-values - PUTSend oripa demand
/inventory/demand - POSTHold a unit
/inventory/holds - POSTHold units in a batch
/inventory/holds/batch - POSTRelease holds in a batch
/inventory/holds/release-batch - POSTShip held units in a batch
/inventory/holds/ship-batch - GETGet a hold
/inventory/holds/{id} - POSTRelease a hold
/inventory/holds/{id}/release - POSTConfirm a hold for shipping
/inventory/holds/{id}/confirm - POSTChange a hold expiry
/inventory/holds/{id}/extend - POSTShip a held unit
/inventory/holds/{id}/ship - POSTCommit a unit to a sale
/inventory/commitments - POSTCommit units in a batch
/inventory/commitments/batch - POSTAllocate won or bought units in a batch
/inventory/commitments/allocate-batch - POSTRelease commitments in a batch
/inventory/commitments/release-batch - GETGet a commitment
/inventory/commitments/{id} - POSTAllocate a won or bought unit
/inventory/commitments/{id}/allocate - POSTRelease a commitment
/inventory/commitments/{id}/release - POSTRequest shipment of allocated units
/inventory/shipments - GETGet a shipment
/inventory/shipments/{id} - POSTShip a shipment
/inventory/shipments/{id}/ship - POSTRecord a returned shipment
/inventory/shipments/{id}/returns - POSTCancel an unshipped shipment
/inventory/shipments/{id}/cancel - POSTMove a unit within a site
/inventory/items/{id}/move - POSTTransfer units to another site
/inventory/transfers - GETGet a transfer
/inventory/transfers/{id} - POSTReceive transferred units
/inventory/transfers/{id}/receive - POSTReturn transferred units to origin
/inventory/transfers/{id}/return - POSTCheck units out
/inventory/checkouts - GETGet a checkout
/inventory/checkouts/{id} - POSTReturn checked-out units
/inventory/checkouts/{id}/return
Card catalog
Search Toreca Cloud’s card catalog. Needs inventory:read.
- GETSearch the card catalog
/cards - GETGet a card
/cards/{id} - POSTRead a card's current values by grade
/cards/market-values - GETCheck stock and demand before setting pack slots
/cards/{id}/demand-availability - GETGet a card's price history
/cards/{id}/market-history
Change notifications
Register a webhook that tells you stock changed. Needs inventory:read.

