Skip to content

Overview

Architecture

The Rheo Integration API is a REST API secured with per-partner API keys. You push items to Rheo; Rheo handles Tradera publishing, monitoring, and sale reconciliation.

Your ERP / system
|
| PUT /integration/v1/items/:external_id
v
Rheo API (market.rheo.se)
|
| Background job (< 30 s)
v
Tradera auction created
|
| Sync every 15 min
v
Status change detected
|
| Signed webhook POST
v
Your webhook endpoint

Item lifecycle

StateMeaning
draftReceived by Rheo, images not yet downloaded
activeImages processed, item live in Rheo marketplace
active + Tradera adTradera auction running
soldSold on Tradera or Rheo. item.sold webhook fired.
not_listedManually de-listed or status PATCH set to not_listed
archivedDeleted while a Rheo order was in progress

Webhook events

EventFired when
listing.createdTradera auction went live
listing.endedTradera auction closed without a sale
listing.failedTradera publish failed (expired token, API error)
item.soldItem sold on Tradera

Rate limits

TierLimit
Item sync (PUT)10 req/s per API key
Price update (PATCH /price)20 req/s per API key
Status update (PATCH /status)20 req/s per API key
Read (GET)30 req/s per API key

Exceeding limits returns 429 Too Many Requests. Implement exponential backoff with an initial delay of 1 s.

Sync strategy

For large initial imports (10,000+ items), spread requests over several minutes rather than bursting. A safe starting point is 5 req/s with a 200 ms delay between batches.

Management and analytics

The Rheo partner dashboard exposes additional endpoints for account management and reporting. These use Supabase JWT authentication rather than an API key.

Endpoint groupPurpose
Management APIAPI key CRUD, webhook URL configuration, secret rotation, delivery log
Partner Analytics APIInventory counts, monthly revenue, category breakdown, subscription management

Background job delivery guarantees

All mutating endpoints (PUT, PATCH, DELETE) return 202 Accepted immediately and enqueue a background job. Jobs use at-least-once delivery with up to 3 retry attempts. Critical jobs (image download, Tradera publish) retry on failure before emitting a listing.failed webhook.