Update a loyalty reward
Change a reward (partial update), for example its cost, stock or status.
Endpoint
PATCH/loyalty-rewards/:id
Body parameters
Any field of Create a loyalty reward except program_id and organization_id, which cannot be changed. Only the fields you send change. The rules for discount_value and min_tier_id are checked against the reward after the change.
Request
Response
Returns the updated reward.
Reward codes already issued keep the name, type, discount and cost they were redeemed with.
Errors
| Status | Message / cause |
|---|---|
400 Bad Request | The program cannot be changed |
400 Bad Request | Record not found (unknown or deleted reward). |
400 Bad Request | Same validation messages as Create a loyalty reward. |
Report an issue with this documentation
Please log in to report issues with our documentation.