Recommendations

Bulk Delete Wallets Recommendations

Changed on

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.<br/><br/> 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.<br/><br/> 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.

patch/services/wallets/recommendations/delete

Request

  • Base URL
    https://wallet.uk.eagleeye.com/2.0
  • URL
    https://wallet.uk.eagleeye.com/2.0/services/wallets/recommendations/delete
  • Auth
    API key in header X-EES-AUTH-CLIENT-ID and API key in header X-EES-AUTH-HASH

Request body

Response

OK

totalinteger

Number of results returned. This can be greater than the sum of successful and failed, as pairs with no ACTIVE recommendation to delete are counted in neither.

Changes