Catalogue
The catalogue is the master of products and their classification. Two layers, and campaigns depend on both:
- Products — every sellable SKU that can appear on a cart line.
- Taxonomies and features — the classification trees and their values. A taxonomy is a dimension (Brand, Own Brand, Supplier, Department); a feature is a value inside it (
Dairy,Private label, a specific brand).
Campaigns are almost never built on raw SKU lists. They target features — "20% on Private label dairy" — which means the classification matters as much as the products themselves. A product loaded without its features is a product no category campaign can reach.
Channel and schedule for this entity: a weekly delta is the usual starting point, either as a Catalogue file or through the API. See Data → Two channels for the same data.
Products
Each SKU that can appear on a cart line should exist in Loyal Guru before the campaigns that target it — or its category — go live.
| Concept | Integration responsibility |
|---|---|
| Stable ID and/or code | Must match the identifier the POS and e-commerce send on cart lines. This is the decision that cannot be changed later — see One ID strategy. |
| Name, status, price (where used) | Keep status accurate so retired SKUs are not targeted unexpectedly |
| Feature membership | Attach the classification values, or category-based campaigns will not include the product |
API path: POST /products (create/upsert), GET /products/{id}, PATCH /products/{id}, DELETE /products/{id}.
Taxonomies and features
Load the classification before the products that reference it. A product update that mentions a feature which does not exist yet cannot attach it.
| Step | Endpoint | Purpose |
|---|---|---|
| Create taxonomy | POST /taxonomies | Define a classification dimension |
| Update / delete taxonomy | PATCH /taxonomies/{slug}, DELETE /taxonomies/{slug} | Maintain the dimension |
| Create feature | POST /taxonomies/{taxonomy_slug}/features | Add a value inside a taxonomy |
| Update / delete feature | PATCH / DELETE on .../features/{id} | Maintain the values |
Taxonomy slugs and feature IDs are what campaign configuration references in the Owner App. Renaming or recreating them is not a cosmetic change: campaigns pointing at the old value stop matching.
Load order within the catalogue
- Product taxonomies.
- Features inside each taxonomy.
- Products, with their feature membership.
On the periodical load, the same sequence applies to every batch that introduces a new classification value.
Core endpoints
Implementation map only. Schemas, auth, errors and rate limits: API Reference.
| Action | Endpoint |
|---|---|
| Create / upsert product | POST /products |
| Get product | GET /products/{id} |
| Update product | PATCH /products/{id} |
| Delete product | DELETE /products/{id} |
| Create product taxonomy | POST /taxonomies |
| Update product taxonomy | PATCH /taxonomies/{slug} |
| Delete product taxonomy | DELETE /taxonomies/{slug} |
| Create product feature | POST /taxonomies/{taxonomy_slug}/features |
| Update product feature | PATCH /taxonomies/{taxonomy_slug}/features/{id} |
| Delete product feature | DELETE /taxonomies/{taxonomy_slug}/features/{id} |
Markdown endpoint catalog: Products · HTTP API
Checklist
- Product IDs match exactly what cart lines will carry — same format, same case, no padding differences.
- Taxonomies and features exist before the products that reference them.
- Every product that a launch campaign targets has its feature membership attached.
- Retired SKUs keep their ID so historical carts still reconcile.
- The file load and the API load agree on the category keys.
Troubleshooting
| Symptom | What to check |
|---|---|
| New SKU is never eligible | The create call or file row succeeded; features attached; the ID matches what the cart sends. |
| Category campaign misses products | Taxonomy slug and feature IDs; whether products were linked after the taxonomy change; file and API using different category keys. |
| Campaign stopped matching after a catalogue change | A taxonomy or feature was renamed or recreated with a new ID; the campaign still references the old one. |
| Product exists in Loyal Guru but the cart does not match it | Compare the exact product_id / product_code in the cart payload with the loaded value. |
Whole-section symptoms — a load that succeeds but produces nothing usable, or one store behaving differently from another — are in Company Data → Troubleshooting.