PATCH /loyalty/{program_id}/rewards/{id}ΒΆ
Update a single loyalty reward.
Path parameters:
Name |
Type |
Description |
---|---|---|
|
integer, required |
the loyalty program identifier |
|
integer, required |
the reward identifier |
Body parameters:
Name |
Type |
Description |
---|---|---|
|
boolean, optional |
set to true to set a reward as claimed |
Example request:
PATCH /loyalty/1/rewards/2 HTTP/1.1
Host: api.ereceipts.co.uk
Accept: application/json
Content-Length: 17
Content-Type: application/json
{"claimed": true}
Example response:
HTTP/1.1 204 No Content