Customers

Personalised best-deal candidates for a customer

Computes redeem-strategy options (all_ils / redeem_max / specials_only / specials_plus_redeem) using the customer's wallet balance and tag-targeted offers. Returns curated deals ranked by deal_score.

get/api/v1/customers/best-deals

Request

  • Base URL: https://makeup.land
  • URL: https://makeup.land/api/v1/customers/best-deals
  • Auth: HTTP bearer and API key in query parameter phone

Query parameters

phonestring required

Phone number in E.164 format, e.g. +972501234567

Response

Personalised offer set

retail_total_centsinteger required

Amount in integer agorot (100 = ₪1)

target_cash_centsinteger required

Amount in integer agorot (100 = ₪1)

candidatesobject[] required
optionsobject[] required
curated_dealsobject[] required
curated_has_moreboolean required
sources_usedstring[] required

Changes

No recorded changes to this operation across all 1 revision of this API.