Checked against the product on 20 November 2026

A REST API for your digital goods store

On Pro and Enterprise, Shoplio has a REST API for the parts of a store that are worth automating: syncing a catalogue, pushing stock from a supplier, reading orders, delivering from your own systems, and adjusting customer balances. Every key belongs to one shop and carries only the scopes you grant.

Basics

A key stops working if its shop is deactivated, if the owner's account is suspended, or if the owner leaves the Pro and Enterprise plans. The answer is always the same generic 401, so the API never reveals which of those it was.

Reference

The full reference is in the docs at shopl.io/docs/api. It lists all 20 endpoints with every parameter, an example request and response for each, and the errors each one can return.

Keys and the ten scopes are covered on the page "API keys and scopes". Status codes, the three rate limit buckets and which calls are safe to repeat are on "API errors, rate limits and retries". Each resource has its own page: shop and balance, products and variants, stock, orders, and customers.

In short: a key can make 60 requests a minute, stock edits and deletes share a stricter bucket of 20 a minute, and a list returns up to 100 items per page. The three scopes that destroy stock or hand out goods (edit_stock, delete_stock and fulfill_orders) are never granted unless you tick them.

Typical uses

Most integrations are a scheduled job. Every minute or two it reads GET /orders with a status filter and compares the result with what it has already handled. Shoplio does not push order events, so polling is the supported way to follow orders.

A job that restocks sends one push per product and waits for the answer, because stock edits and variant creates on one product wait for each other and for stock pushes. If a call answers 409 with Retry-After: 5, nothing was written and the same request can be sent again.

Example: push stock from a supplier feed

POST https://api.shopl.io/api/v1/products/{product_id}/stock with a JSON body of {"items": ["KEY-1", "KEY-2"], "variant_id": "...", "notify": true}. variant_id is required when the product has variants. With notify set, the storefront cache is refreshed and your restock alerts fire; it is off by default. The key needs the write_stock scope.

What the API does not do

Shoplio does not send outgoing webhooks for new orders; poll GET /orders instead. There is no file upload: product images take an already-hosted URL. Withdrawals, payout wallets, API keys and shop deletion are not available through the API.

Frequently asked questions

Does Shoplio have an API?

Yes. Pro and Enterprise include a REST API at https://api.shopl.io/api/v1 for products, variants, stock, orders, delivery, customers and balances, authenticated with shop-scoped Bearer keys.

How do I bulk upload stock through the API?

POST the items as a JSON array to /api/v1/products/{id}/stock with a key that has the write_stock scope. Include variant_id for a product with variants.

What are the API rate limits?

60 requests a minute per key, 20 a minute for stock edits and deletes, and a separate 60 a minute for order delivery.

Does Shoplio send webhooks for new orders?

Not to merchants today. Poll GET /api/v1/orders for new orders.

Can an API key withdraw my money?

No. There is no withdrawal endpoint, and payout wallets and API keys can only be managed by the owner in the dashboard.

Related

More features

Start on the free plan

No card and no subscription. Upgrade only when you need a paid feature.