Developers
Get started

Scopes and perimeter

What a QuoShop key can read and write — and why it never reaches the internal ERP.

A QuoShop key carries scopes: resource:read or resource:write (write implies read), or the wildcards *:read / *:write. Every route requires a scope; without it, 403 API_INSUFFICIENT_SCOPE with detail.required.

ResourceCoversReadWriteModule
catalogcatalog:readcatalog:writeECOMMERCE
inventoryinventory:read — ECOMMERCE
ordersorders:readorders:writeECOMMERCE
customerscustomers:readcustomers:writeECOMMERCE
webhooksReceiving endpoints, delivery logwebhooks:readwebhooks:writeECOMMERCE

The perimeter: the store, nothing else

A QuoShop key reaches the published catalogue, the orders, the buyers and the webhooks of the store. Never:

  • an article that is unpublished, archived or deactivated in the ERP;
  • a purchase price, a margin, another warehouse’s stock;
  • an ERP customer, its identifiers, its internal notes;
  • a buyer’s tracking token, a password.

Only the numbers of the documents issued for an order (sales order, invoice) leave the ERP. The customer file, the invoices and the rest of the ERP belong to the QuoSuite API, with a separate qss_… key.

By route

ScopeRoutes
(none)GET /ping, GET /stores, GET /store
catalog:readGET /products, GET /products/{product}, GET /collections, GET /delivery-options
inventory:readGET /inventory, GET /products/{product}/inventory
orders:read / orders:writeread orders / POST /orders, …/status, …/payments
customers:read / customers:writeread buyers / POST /customers, PATCH /customers/{id}
webhooks:read / webhooks:writeread the configuration and the log / declare, update, test, redeliver

catalog:write exists in the scope catalogue but no route requires it in v1: merchant content is managed in QuoSuite.

Webhooks follow the scopes

You only subscribe to what you can read: order.* requires orders:read, inventory.updated requires inventory:read, product.* requires catalog:read. The check happens at subscription and at each delivery — a key that loses a scope stops receiving the matching events at once.

Recipes

IntegrationScopes
Showcase site (display catalogue and availability)catalog:read, inventory:read
WooCommerce / PrestaShop plugincatalog:read, inventory:read, orders:write, webhooks:write (+ customers:write if the store refuses guest orders)
Shipping preparation toolorders:write, webhooks:write
Mailing list synccustomers:read

The subscription plan

The E-commerce module must be part of the workspace’s subscription: otherwise 403 API_MODULE_UNAVAILABLE on every route, and the screen does not offer to create a QuoShop key.