Catalogue overview
How catalogue items keep your own stock records in step with Localoy, and how they drive webhooks and live inventory checks.
A catalogue item is a stock record from your own system — a dish, a ticket, a session, a product —
keyed by your own ID, the externalId. Catalogue items are never shown to customers; what
customers see is a listing. The catalogue does two jobs:
- It links your items to your Localoy bookables, so Localoy can ask your system whether there is stock before it accepts a booking.
- It announces changes: every create, update and delete sends a
catalog.item.*webhook.
| Operation | Endpoint | Scope |
|---|---|---|
| Create or replace | POST /catalog/items | REGISTRATION |
| List | GET /catalog/items | INVENTORY |
| Retrieve | GET /catalog/items/:externalId | INVENTORY |
| Update some fields | PATCH /catalog/items/:externalId | UPDATE |
| Delete | DELETE /catalog/items/:externalId | UPDATE |
The flow#
- Your server → Localoy: POST /catalog/items sku-4471
- Localoy → Your server: 201 created
- Localoy → Your webhook endpoint: catalog.item.created
- — When stock or price changes in your system —
- Your server → Localoy: PATCH /catalog/items/sku-4471
- Localoy → Your server: 200 only the sent fields changed
- Localoy → Your webhook endpoint: catalog.item.updated
- — To reconcile —
- Your server → Localoy: GET /catalog/items?limit=…&offset=…
- Localoy → Your server: 200 a page, newest first
- — When you stop selling it —
- Your server → Localoy: DELETE /catalog/items/sku-4471
- Localoy → Your webhook endpoint: catalog.item.deleted
- Create it.
POSTis an upsert onexternalId: the first call answers201, later ones200. On a repeat, fields you leave out keep their stored values; sendnullto clear a nullable field. - Change it. Use
PATCHfor a few fields — most oftenstock— instead of re-sending the item. - Reconcile. Page through the list with
limitandoffsetand compare with your own records. - Delete it. Deletion is permanent, and the
externalIdcannot be renamed — to rename, delete and create again.
Stock and availability#
| Field | Meaning |
|---|---|
available | Whether you are selling the item at all. |
stock: null | You do not track stock for this item. |
stock: 0 | You track stock and have none left. |
stock: 12 | You track stock and have 12. |
These values are a snapshot. When a customer books a linked item, Localoy does not read them — it asks your inventory endpoint live. To link an item, see the Bookables overview.
Rules to remember#
- Items written for you by a connected integration carry a
managedByobject, and the integration keeps writing them. Change those at their source. - A sandbox key reads and writes only the sandbox's own items.
Guide: Sync your catalogue.