Bulk Delete Wallets Recommendations

This API allows the calling application to delete, in bulk, the ACTIVE recommendations for many walletId/campaignId pairs in a single request. For each pair, every ACTIVE recommendation of the wallet that targets the campaign is changed to DELETED.

Up to 1000 pairs can be sent per request and duplicated pairs are only processed once. A pair is only processed when the wallet is ACTIVE and the campaign is not EXPIRED, DELETED or REJECTED; otherwise the pair is returned as failed. A pair with no ACTIVE recommendation for the campaign is returned with a null recommendationGuid and is counted neither as successful nor as failed.

The response returns one result for each deleted recommendation, each failure and each pair that had nothing to delete. The response status is 200 when nothing failed, 207 when some recommendations were deleted or had nothing to delete and others failed, and 400 when every entry failed.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

JSON payload

data
array of objects
required
length between 1 and 1000

The walletId/campaignId pairs to delete the ACTIVE recommendations for.

data*
string
required

The ID of the wallet the recommendations belong to, as a numeric string greater than 0. An integer is also accepted.

string
required

The ID of the campaign the recommendations target, as a numeric string greater than 0. An integer is also accepted.

Responses

Language
Credentials
LoadingLoading…
Response
Choose an example:
application/json