Update a loyalty tier
Change a tier's name, threshold, multiplier, benefits, color or order (partial update).
Endpoint
PATCH/loyalty-tiers/:id
Body parameters
| Name | Type | Required | Description |
|---|---|---|---|
name | string | No | Tier name. |
threshold | number | No | Value needed to reach the tier. |
earn_multiplier | number | No | 0 to 100. |
benefits | string | null | No | Benefits text. |
color | string | null | No | Color. |
sort_order | integer | No | Display order. |
program_id and organization_id cannot be changed.
Request
Response
Returns the updated tier. Every member of the program is re-evaluated in the background.
Errors
| Status | Message / cause |
|---|---|
400 Bad Request | The program cannot be changed |
400 Bad Request | Record not found (unknown or deleted tier). |
Report an issue with this documentation
Please log in to report issues with our documentation.