Claim a reward for a specific customer

This endpoint allows for claiming a reward for a customer.

Path Params
string
required

Unique customer ID. This can be

  • The Antavo customer ID
  • An external ID (requires configuration): {external_field:external_id_value}
string
required

Unique reward ID.

Query Params
string
enum

Returns additional objects in the response, using a comma separated list. Options:

  • customer: The complete customer response object with all customer attributes.
  • reward: The complete reward object with all reward attributes.
Allowed:
Form Data

A request body is only required for specific scenarios.

  1. Dynamic rewards: The stated points are used to calculate the value of the generated dynamic coupon.

  2. Making multiple claims in a single API request: Repeated identical reward claims can be combined into an single request, reducing API traffic.

integer

Points to be used when claiming a dynamic type of reward.

integer

The number of times that the reward is claimed in a single API request. This is only needed for multiple claims.

Responses

Language
Credentials
Query
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json