POST
/
v2
/
customers
/
{merchant_id}
/
remove_points
cURL
curl --request POST \
  --url https://api.loyaltylion.com/v2/customers/{merchant_id}/remove_points \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "points": 2,
  "reason": "<string>"
}'
"<string>"

Authorizations

Authorization
string
header
required

An API key linked to a Program in LoyaltyLion, with a set of permissions (scopes). API keys can be created manually, or acquired through an OAuth2 flow. The API key should be provided as a Bearer token in the Authorization header

Path Parameters

merchant_id
string
required

Body

application/json

Body

points
integer
required
Required range: x >= 1
reason
string | null

A message that will be visible to the shopper and included on the customer’s page in the LoyaltyLion admin

Response

204

The response is of type string.

Allowed value: ""