Skip to content

REST API

The REST API does everything the console does. Use it to keep products and stock in step from your own systems, report orders, or manage many screens at once.

Send every request to https://api.loomieo.com with a secret key:

Terminal window
curl https://api.loomieo.com/v1/screens \
-H "Authorization: Bearer $LUMIEO_KEY"

Create a key under Settings › API keys. Secret keys start with sk_live_, are shown once, and can only do what you allow when you create them, optionally for one market only. Keep them on your server. The publishable pk_ keys in your embed code can’t call this API.

Every response is JSON with success, statusCode and a requestId. Lists are paged: pass the cursor from one page to get the next. Ids are UUIDs. Products and variants also carry your shop’s own ids as externalId.

A failed request has success: false, an HTTP status, and an errorCode you can match on, such as validation_failed or screen_not_found. Each endpoint lists its codes under Errors. Quote the requestId when you contact support.

Who Limit
Each secret key 600 requests a minute
Product updates and orders, per key 60 requests a minute

These limits are approximate. A request body can be at most 16 MB (64 KB for login and signup); a larger one gets 413. Over a rate limit you get 429 with errorCode: "rate_limited" and a Retry-After header in seconds.

These parts are stable. We only add to them, so an integration you build on them keeps working:

  • PUT /v1/sites/{siteId}/products (push products) and the product feed format
  • POST /v1/orders and POST /v1/orders/{externalOrderId}/refunds (report orders)
  • GET /v1/sites, to find a market’s siteId

Every other endpoint can change without notice, even under /v1.

The pages below list every endpoint, generated from the API’s own OpenAPI document on every release. The raw document is at /openapi.json for code generators.