customers

PATCH /v2/customers/{merchant_id}

Changed on

Request

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

Path parameters

merchant_idstring required

The ID of the customer in your platform or ecommerce store

Request body

Response

200

Example response

{
  "customer": {
    "tier_eligibility": {
      "tier_spend": {
        "now": {
          "amount": 9.9,
          "formatted": "$9.90"
        },
        "at_expiration": {
          "amount": 9.9,
          "formatted": "$9.90"
        }
      },
      "spend_needed_for_renewal": {
        "amount": 9.9,
        "formatted": "$9.90"
      },
      "spend_needed_for_upgrade": {
        "amount": 9.9,
        "formatted": "$9.90"
      }
    }
  }
}

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added points spend orders discriminator mapping keys to the // response property for the response status

    • info

      added the required property / to the response with the status