Update Customer

To update information for a specific customer
更新顧客資料

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Customer unique ID
顧客ID

Query Params
excludes[]
array of strings

Exclude certain parameters in the response
結果要排除哪些參數

excludes[]
fields[]
array of strings

Only show certain parameters in the response
結果只顯示哪些參數

fields[]
Body Params

Payload for updating customer

string | null

Customer Name
顧客姓名

phones
array of strings

Customer Phones
顧客電話
-
*Not verified mobile phone number
請注意,非客戶手機驗證電話

phones
string

Customer's Phone
顧客電話
-
*Not verified mobile phone number
請注意,非客戶手機驗證電話

string

Customer Phone Country Code
If phone is input, this field should not be blank
顧客電話國碼
手機號碼國碼, 如已輸入phone,此欄不能是空白

string | null
enum

Customer Gender
顧客性別

Allowed:
string | null

Customer's birthday
顧客生日

*Will check age limit based on admin setting
將依據後台年齡限制檢查顧客生日

integer

Customer's birth year
顧客出生年份
-
*Could not be used with the birthday parameter at the same time.

integer

Customer's birth month
顧客出生月份
-
*Could not be used with the birthday parameter at the same time.

integer

Customer's birth day
顧客出生日期
-
*Could not be used with the birthday parameter at the same time.

string

Customer Email
顧客電子郵件

boolean

Is the customer a member?
顧客是否為會員?

boolean

Is the customer in black-list?
顧客是否在黑名單?

boolean

Set as True for acceptance of marketing news.
是否接受優惠宣傳?

boolean

Set as True for acceptance of email marketing news.
是否接受email優惠宣傳?

boolean

Set as True for acceptance of sms marketing news.
是否接受sms優惠宣傳?

string

Membership Tier ID
會員等級ID
-
Please check
Get Membership
Tiers

string

Tier Expires At
會員等級到期日
-
Only future Date is available

delivery_addresses
array of objects

Customer's Delivery
顧客送貨地址
-
*Maximum for 5 delivery address groups
最多五組

delivery_addresses
string | null

For third party to put custom user_id
可供儲存第三方顧客ID

string | null

Customer memo
顧客備註

tags
array of strings

顧客標籤

tags
custom_fields
object

Custom field content
顧客客製化欄位
-
You can check Get CustomFields to get the custom_field_id, and parameter
可於 Get CustomFields 拿到客製化欄位的ID與參數

string

Customer register's Date and time
顧客註冊時間

string

Customer Locale Code
顧客使用前台之語言

string

Customer Mobile Phone
It has to be used with mobile_phone_country_calling_code 顧客手機, 需與mobile_phone_country_calling_code一同使用

string

Country Code of Mobile Phone. It has to be used with mobile_phone
手機號碼國碼, 需與mobile_phone一同使用

facebook_info
object

Facebook info of the customer

line_info
object

Line info of the customer

Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json