GET /v2/customers/{merchant_id}/available_rewards
Changed onRequest
- Base URLhttps://api.loyaltylion.com
- URLhttps://api.loyaltylion.com/v2/customers/{merchant_id}/available_rewards
- Auth
- HTTP bearer
- or HTTP basic
Path parameters
The ID of the customer in your platform or ecommerce store
Query parameters
By default this endpoint will return rewards across all sites in your program. If you have a multi-site program, you can specify a site ID here to return only rewards for that site
An ISO 3166-1 alpha-2 country code. When provided, only rewards available in this country are returned. Rewards with no country restriction are always included.
Response
200
Changes
- breaking
removed 'propertyNames' constraint from the
///response property for the status - breaking
removed 'propertyNames' constraint from the
///response property for the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added
active_subscription_discount_voucherproduct_cartcart_discount_vouchercheckout_redemptioncollection_discount_vouchercustomfree_shipping_vouchergift_cardproduct_discount_vouchersubscription_buy_with_pointsdiscriminator mapping keys to the/response property for the response status - info
added
costquantitydiscriminator mapping keys to the////response property for the response status - info
added the required property
///to the response with the status
- breaking