Skip to content

Earn rules

The ways customers earn stamps.

GET /earn-rules

[
{
"id": "12",
"name": "Place an order",
"type": "order",
"step": 1,
"multiplier": 1,
"iconUrl": "https://..."
}
]

Both the list and single-rule endpoints return objects with these fields.

FieldTypeDescription
idstringUnique identifier.
namestringDisplay name (branded/translated).
typestringRule type (e.g. order, social, birthday).
stepintegerBase stamps awarded per qualifying action.
multipliernumberMultiplier applied to step.
iconUrlstringIcon URL if set (omitted otherwise).

GET /earn-rules/{id}

Returns a single earn rule (see Earn rule fields), or 404 EARN_RULE_NOT_FOUND.