---
title: "Update customer loyalty status"
method: POST
path: "/loyalty/cp/api/update-customer-status"
tags: ["Customer Enrollment & Profile"]
---

# Update customer loyalty status

`POST /loyalty/cp/api/update-customer-status`

## Request body

- CustomerBirthDateRequestVM — Customer birth date update request containing the date of birth
  - `customerId` integer — Unique identifier of the customer
  - `dob` string, date — Customer date of birth
  - `status` 'ACTIVE' | 'INACTIVE' | 'EXCLUDED' | 'EXCLUDED_BY_CUSTOMER' | 'ACTIVE' | 'INACTIVE' | 'EXCLUDED' | 'EXCLUDED_BY_CUSTOMER' — Customer loyalty status

## Response `200`

Customer status updated successfully

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

## Other responses

- `400` — Invalid customer status
- `401` — Customer not authenticated

---

[API](https://skmtc.net/appstle/apis/storefront-apis.md) · [All operations](https://skmtc.net/appstle/apis/storefront-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/appstle/storefront-apis/revisions/f62b6f66ee8f/schema)
