Claim a specific reward to multiple customers

Submit reward claim requests for a batch of customers. Each request can include a maximum of 100,000 customers.
Please note that only one bulk reward claim process can run at a time for one specific reward. If additional batches are submitted while the current one is still processing, they will be added to the queue and processed once the ongoing batch is completed.
By the end of the process, the reward events get registered in each customer's event history.

Path Params
string
required

The ID of the reward to be claimed.

Body Params
customers
array of strings
required

An array of strings representing unique customer IDs. If any of the customer IDs don't exist in the database, the batch will still be processed and the unknown customer IDs will be provided in the payload of the /error endpoint.

customers*
string

Antavo will attempt to call this URL once the batch processing is finished. The webhook message sent to this URL provides the API URL to the /status endpoint to query the status of the batch claim process and any custom data that has been added to the bulk reward claim request. The schema://hostname of the callback URL must be configured in the Trusted sites module and able to handle REST API calls with JSON payload.

metadata
object

Metadata of key-value pairs.

boolean

When set to true, the reward point price is treated as zero and the reward can be claimed without applying validation rules, except for stock restrictions.

Responses

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