Skip to content

The OLET public API is versioned in the URL path. Breaking changes ship as a new version path; /v1 keeps its current shape for as long as it is offered.

The version is still 1.0.0. Since the first release the entries below add fields, filters and refusals. The only field removed is tax_inclusive on GET /store.

  • Changed: DELETE /products/{id} answers 409 CONFLICT while the product is on an open purchase order, transfer, draft supplier return or open stock count. The message names the oldest one.
  • Changed: deleting a product writes its stock on hand off to 0 with the reason Product deleted, so the stock movements explain where it went.
  • Changed: variant attribute names and option values are matched against the store’s attribute and value lists, ignoring case, and are stored as typed. They are no longer title-cased. The attribute name colour, in any case, becomes Color.
  • Changed: on POST /products/{id}/variants, each variant must carry exactly one option for every attribute of the parent. Anything else answers 400 VALIDATION_FAILED.
  • Changed: a combination that already exists is detected through those lists, so red and Red are the same value and answer 409 CONFLICT. A generated child name lists the values in attribute-position order and is cut at 85 characters.
  • Changed: setting active on a variant parent with PATCH /products/{id} sets every live variant to the same value. Each variant that changes gets a new version, so it reappears in your next poll.
  • Changed: turning a variant on while its parent is inactive answers 409 CONFLICT. A variant created under an inactive parent is created inactive, whatever the request says.
  • New: name_contains on products matches anywhere in the name, ignoring case. name_prefix is unchanged, and both can be sent together.

2026-10-19, account, search and webhook behaviour

Section titled “2026-10-19, account, search and webhook behaviour”
  • New: GET /me returns currency, the store’s currency code.
  • Changed: GET /store no longer returns tax_inclusive. Prices on the API are tax-exclusive.
  • Changed: completed_from and completed_to on sales accept an offset such as -04:00 as well as Z. Both ends are inclusive.
  • New: name_prefix on products and customers matches the start of the name, ignoring case. On customers it matches the start of the first name, last name or company name.
  • Changed: sku on products also matches a barcode.
  • Changed: phone on customers matches the phone or mobile number and must be in international format, such as +12125550123. Without a country code the request answers 400 VALIDATION_FAILED. A leading + may be typed as is, for example ?phone=+12125550123; %2B works too.
  • Changed: active and include_deleted accept exactly true or false. Anything else answers 400 VALIDATION_FAILED. Before, any non-empty value, including false, was read as true.
  • Changed: a key or connection with at least one active webhook never goes idle. See authentication.
  • New: when a webhook on hooks.zapier.com is removed or turned off by us, we ask Zapier to pause the Zap. See webhooks.
  • New: webhooks. POST /webhooks, GET /webhooks, GET /webhooks/{id} and DELETE /webhooks/{id} subscribe a URL to one of nine events: sale.completed, sale.refunded, customer.created, customer.updated, customer.deleted, product.created, product.updated, product.deleted and inventory.updated. Deliveries are signed with the Standard Webhooks scheme. See webhooks.
  • New: GET /events returns recent events in the same envelope a webhook delivers, kept for 30 days.
  • A stock write can now carry unit_cost, an integer number of cents. On PUT /products/{id}/inventory/{outlet_id} and on a set line in a batch, it becomes the outlet’s average cost. On POST /inventory/adjustments and on an adjust line, it is blended into the average when stock goes up and ignored otherwise. Leave it out to keep the current average.
  • A stock write that names a system reason, or a reason that is turned off, now answers 422 REASON_NOT_ALLOWED. A reason must be enabled and must not be a system reason.
  • A stock write at an outlet that has been deleted answers 422 OUTLET_DELETED. It used to answer the generic UNPROCESSABLE. Nothing is written, and a batch writes none of its lines.

The first public release. It covers catalog (products, brands, categories, tags, suppliers), inventory (stock reads, sets, relative adjustments, and batch writes), customers, sales and refunds (read only), and account and store settings, 44 operations in all.

Every list endpoint pages with a cursor and supports polling for changes; product and sale reads return the full document in one call rather than a slimmer summary with separate sub-resource reads. Money is always an integer number of cents. Writes to inventory endpoints support an Idempotency-Key for safe retries.

What shaped this release:

  • One product document. A product read carries its codes, tags (with names), suppliers (with supplier_name), variant_options, variant_attributes and components. POST /products and PATCH /products/{id} accept the same document: leave a collection out to keep it, send [] to clear it, and the whole write is atomic. The separate endpoints for a product’s codes, tags, suppliers, components and attributes were removed before release. See write a whole product in one request.
  • Cursors and versions. The version on a row and the list cursor follow the whole document, so a product comes back in a poll when anything attached to it changes. A cursor the server cannot read answers 400 VALIDATION_FAILED instead of restarting at the first page, and an empty page returns next_cursor: null. See pagination and polling.
  • Scopes. Catalog access uses catalog:read and catalog:write. Every scoped endpoint names the scope it needs.
  • Deletes. DELETE exists for products, brands, categories, tags, suppliers and customers, and brands, categories and tags have GET by id. Deleting a customer permanently erases their personal details and cannot be undone. See delete and erase.
  • Stock by SKU. Stock adjustments and batch lines accept sku in place of product_id.
  • Images. image_url imports a product image from an https address. A failed download answers 422 IMAGE_FETCH_FAILED with the saved product in data.
  • OAuth. Apps connect with the authorization code flow, and the spec describes both API keys and OAuth. See authentication.
  • The spec. GET /openapi.json under your store prefix serves the full OpenAPI document with your prefix in its server URL, and every operation description is written in markdown.

See the quickstart to make your first call, or the full API reference for every operation this version covers.