customers

GET /v2/customers/{merchant_id}/available_rewards

Changed on

Request

  • Base URL
    https://api.loyaltylion.com
  • URL
    https://api.loyaltylion.com/v2/customers/{merchant_id}/available_rewards
  • Auth
    • HTTP bearer
    • or HTTP basic

Path parameters

merchant_idstring required

The ID of the customer in your platform or ecommerce store

Query parameters

site_idnumber

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

countrystring

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_voucher product_cart cart_discount_voucher checkout_redemption collection_discount_voucher custom free_shipping_voucher gift_card product_discount_voucher subscription_buy_with_points discriminator mapping keys to the / response property for the response status

    • info

      added cost quantity discriminator mapping keys to the //// response property for the response status

    • info

      added the required property /// to the response with the status