Products

What the Scops Loyalty product catalog holds, how to keep it in sync and where it's used.

Products is your product catalog inside Scops Loyalty. It holds each product's SKU, name, brand and category, so your team can pick real products when building promotions instead of typing SKUs from memory.

The catalog should mirror the product data in your own systems, such as your ERP, PIM or web shop. Load it with an import and keep it up to date through the API. You can also add and edit products in the dashboard, which works for a few corrections but not for keeping a whole catalog in sync.

What a product holds

FieldRequiredNotes
skuYesUnique within your catalog. The SKU connects the catalog to the SKUs in your transactions and promotions.
nameYesThe product name.
brandNoFree text, for example Nivea.
categoryNoFree text, for example Skincare.
loyaltyPriceNoAn optional member price, stored with two decimals.
activeNotrue by default. Set it to false to retire a product. A retired product stays in the catalog but is hidden from the active catalog.

Brands and categories come from your products, so there's no separate list to maintain. GET /products/brands and GET /products/categories return the distinct values in your catalog.

Use the same SKU, brand and category values that your integration sends in transactions. Promotions, campaign formulas such as sku('SH-100') and segment conditions all match on these values.

Keeping the catalog in sync

HowBest for
File import: POST /import/products with a JSON or CSV fileThe first load, and regular full or partial syncs. Existing SKUs are updated and new SKUs are added.
API: POST /products, PATCH /products/{id}, DELETE /products/{id}Changes that should show up right away, such as a new, renamed or retired product.
Dashboard: Products → New ProductOccasional manual fixes.

Import products has the file formats and examples.

Where the catalog is used

Wherever a promotion asks for products by SKU, the form shows a Browse catalog button. That covers product filters on static promotions and product lists in effects such as Price List and Bundle Fixed Price. In the catalog browser you can search by name, SKU, brand or category, filter by brand and category, sort by name, SKU, brand, category, price or date added, and add a product to the list with one click.

Browse catalog appears once your catalog has at least one active product.

API

EndpointWhat it does
POST /productsCreate a product. A duplicate SKU returns 409.
GET /productsList products. Supports page, limit (up to 1000), sortBy, sortOrder, search (name, SKU, brand and category), and the filters name, sku, brand, category and active.
GET /products/{id}Get one product.
PATCH /products/{id}Update any field. Send "active": true to bring a retired product back.
DELETE /products/{id}Retire a product, the same as setting active to false.
GET /products/brandsAll brands in your catalog.
GET /products/categoriesAll categories in your catalog.
POST /import/productsUpload a JSON or CSV file to import many products at once.

Authenticate every request with your API key. Full schemas are in the API reference.