Dashboard
How it Works Documentation Quick Start PAPI — Pages & Assets MAPI — Dynamic Data Integrations SAPI — Sessions & Forms MCP Server OpenClaw Skill Tools Deploy Dashboard
Loyalty / Spaarpunten

Loyalty / Spaarpunten

⚡ Built-in — Platform Built-in

Per-shop configureerbaar spaarprogramma. Vaste punten per product (seed bij aanmaak, daarna bevroren) of rate-based.

⚡ Built-in — No Setup Required This integration is built into the WebsitePublisher platform. All endpoints are available immediately — no API key needed.

Endpoints (5)

GET get-config

Haal de loyalty-configuratie van deze shop op. Leeg = programma niet actief.

No input parameters required.

POST set-config

Sla de loyalty-configuratie op (upsert). Vereist mode (per_product of rate_based).

Field Type Required Description
config object ✓ Yes Volledig config-object: mode, redeem, expiry, en mode-specifieke velden (per_product: points_source + seed; rate_based: accrual).
GET get-product-points

Haal de vaste punten van een product op (alle varianten + product-default).

Field Type Required Description
product_id integer ✓ Yes Product-ID uit product-catalog.
POST set-product-points

Zet de vaste punten voor een product of variant (handmatig, bevroren). variant_id weglaten = product-default.

Field Type Required Description
product_id integer ✓ Yes Product-ID.
variant_id integer No Variant-ID; weglaten voor product-default.
points integer ✓ Yes Vast puntenaantal (>= 0).
POST bulk-set-product-points

Zet punten voor meerdere producten/varianten tegelijk (max 500). Voor backfill van bestaande catalogus.

Field Type Required Description
items array ✓ Yes Lijst van {product_id, variant_id?, points, source?}. source "seeded" markeert auto-afgeleide waarden.

MCP Tool Names

When using this integration through an AI assistant (Claude, ChatGPT, Cursor, etc.), the endpoints are available as MCP tools:

EndpointMCP Tool Name
get-config loyalty_get_config
set-config loyalty_set_config
get-product-points loyalty_get_product_points
set-product-points loyalty_set_product_points
bulk-set-product-points loyalty_bulk_set_product_points
← Back to all integrations