PATCH /loyalty/{program_id}/rewards/{id}ΒΆ

Update a single loyalty reward.

Path parameters:

Name

Type

Description

program_id

integer, required

the loyalty program identifier

id

integer, required

the reward identifier

Body parameters:

Name

Type

Description

claimed

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