User guide

API and webhooks

Create an API key, set its permissions, receive events by webhook.

Administrator2 min read

The public API connects your workspace to other tools: a WordPress or WooCommerce site, a PrestaShop module, an in-house script. Keys and webhooks are managed in Settings › API & Integrations.

Settings › API & Integrations: QuoSuite and QuoShop keys, then webhooks.

Three perimeters

PerimeterAccessDocumentation
QuoSuite keys (ERP)items, stock, partners, sales, purchases, payments, expenses, treasury, reports…QuoSuite API
QuoShop keys (store)published catalogue, orders, customers, store webhooksQuoShop API
QuoRent keys (rental)fleet, branches, options, availability and prices, bookings, your customers’ accounts — nothing else of the ERP. Offered only with car rentalQuoRent keys

Calls authenticate with the Authorization: Bearer … header (or X-API-Key).

1. Create a key

  1. Click New key in the right perimeter.
  2. Give it a name that says where it is used (“WordPress website”).
  3. Tick its permissions, resource by resource: read, or read and write. Grant only what the integration needs.
  4. For calls from a browser, declare the allowed domains; with no domain, the key is restricted to server-to-server calls.
  5. If needed, set an expiry date and a rate limit per minute.
  6. Save.

Each key shows its status, permissions, domains and last use. Its actions let you rotate it (a new key replaces the old one, with a grace period to switch over) or revoke it.

2. Webhooks

Rather than polling the API, your site can receive events as they happen:

  1. Click New endpoint.
  2. Enter the URL of your site that will receive the calls (https://…/webhook).
  3. Tick the events: quote, order, delivery note or invoice created, status change, invoice paid, payment created, item or partner created or updated, inventory updated…
  4. Save, and copy the signing secret.

Every delivery is signed (X-QuoSuite-Signature header, HMAC-SHA256): check the signature before processing the call. A failed delivery is retried up to 8 times over nearly two days; your site must answer within 10 seconds. As the same event may arrive twice, ignore an ID you already processed (X-QuoSuite-Delivery header).

Resources, permissions and events are detailed in the QuoSuite API documentation.