Skip to main content
POST
Update customer birth date

Body

application/json

Customer birth date update request containing the date of birth

customerId
integer<int64>

The customer's Shopify customer ID, as a number. It is not the id in the response. The Storefront API calls ignore it and use the signed-in customer.

Example:

7212345678901

dob
string<date>

The customer's date of birth, as YYYY-MM-DD.

Example:

"1990-01-12"

dobYearProvided
boolean

Whether dob holds the customer's real birth year. When false, the year in dob is a placeholder, and birthday rewards match on month and day only. Defaults to true when omitted.

Example:

true

status
enum<string>

The new loyalty status. Only Update customer loyalty status in the Storefront API reads it. Both Update customer birth date calls ignore it.

Available options:
ACTIVE,
INACTIVE,
EXCLUDED,
EXCLUDED_BY_CUSTOMER

Response

Customer birth date updated successfully

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