Skip to main content
POST
/
loyalty
/
cp
/
api
/
update-customer-status
Update customer loyalty status
curl --request POST \
  --url https://loyalty-admin.appstle.com/loyalty/cp/api/update-customer-status \
  --header 'Content-Type: application/json' \
  --data '
{
  "customerId": 0,
  "dob": "2026-01-12",
  "status": "ACTIVE"
}
'
{
  "shop": "<string>",
  "customerId": 123,
  "createAt": "2023-11-07T05:31:56Z",
  "availablePoints": 123,
  "pendingPoints": 123,
  "id": 123,
  "firstName": "<string>",
  "lastName": "<string>",
  "email": "<string>",
  "dob": "2023-12-25",
  "enableEmail": true,
  "token": "<string>",
  "redeemLimit": 123,
  "redeemLimitOnce": 123,
  "vipTier": "<string>",
  "vipTierId": 123,
  "vipTierSummary": "<string>",
  "displayName": "<string>",
  "vipTierExpiredAt": "2023-11-07T05:31:56Z",
  "spentAmount": 123,
  "lastActivity": "2023-11-07T05:31:56Z",
  "ordersCount": 123,
  "lastMonthlyReminderSentDate": "2023-11-07T05:31:56Z",
  "redeemedPoints": 123,
  "lastRewardExpiryReminderSentDate": "2023-11-07T05:31:56Z",
  "phone": "<string>",
  "loyaltyProgramEnabled": true,
  "emailSetting": "<string>",
  "skipReview": true,
  "updatedSettings": "<string>",
  "storeCreditAccountId": "<string>",
  "emailBouncedOrFailed": true,
  "availableStoreCredits": 123,
  "isDeletedFromShopify": true,
  "enableEmailMarketing": true,
  "enableSmsMarketing": true,
  "tags": "<string>",
  "vipTierAmount": 123
}

Documentation Index

Fetch the complete documentation index at: https://appstleinc-aeca3e0a.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json

Customer birth date update request containing the date of birth

customerId
integer<int64>

Unique identifier of the customer

Example:

0

dob
string<date>

Customer date of birth

Example:

"2026-01-12"

status
enum<string>

Customer loyalty status

Available options:
ACTIVE,
INACTIVE,
EXCLUDED,
EXCLUDED_BY_CUSTOMER,
ACTIVE,
INACTIVE,
EXCLUDED,
EXCLUDED_BY_CUSTOMER

Response

Customer status updated successfully

shop
string
required
customerId
integer<int64>
required
createAt
string<date-time>
required
availablePoints
number<double>
required
pendingPoints
number<double>
required
id
integer<int64>
firstName
string
lastName
string
email
string
status
enum<string>
Available options:
ACTIVE,
INACTIVE,
EXCLUDED,
EXCLUDED_BY_CUSTOMER
dob
string<date>
enableEmail
boolean
token
string
redeemLimit
integer<int64>
redeemLimitOnce
integer<int64>
vipTier
string
vipTierId
integer<int64>
vipTierSummary
string
displayName
string
vipTierExpiredAt
string<date-time>
spentAmount
number<double>
lastActivity
string<date-time>
ordersCount
integer<int32>
lastMonthlyReminderSentDate
string<date-time>
redeemedPoints
number<double>
lastRewardExpiryReminderSentDate
string<date-time>
vipAssignType
enum<string>
Available options:
MANUAL,
AUTO_RENEWAL,
RENEWAL_ON_HIGHER_TIER
phone
string
loyaltyProgramEnabled
boolean
emailSetting
string
skipReview
boolean
updatedSettings
string
storeCreditAccountId
string
emailBouncedOrFailed
boolean
availableStoreCredits
number<double>
isDeletedFromShopify
boolean
enableEmailMarketing
boolean
enableSmsMarketing
boolean
tags
string
vipTierAmount
number<double>