Get Users Setting
Function
To retrieve the setting of users
獲取用戶設定
URL
GET https://open.shopline.io/v1/settings/users
Request Parameters
Field | Type | Description | Example |
|---|---|---|---|
include_fields[] |
| 包含 fields enum:
| include_fields[]=user_credit_rules&include_fields[]=member_point_rules |
Response Example
Field | Type | Description | Example |
|---|---|---|---|
pos_apply_credit |
| false | |
minimum_age_limit |
| The minimum age required for customers to shop at the online store | "13" |
enable_member_point |
| Whether the member point rules are activated | true |
enable_user_credit |
| Store Credits Toggle | true |
user_credit_rules | User Credit Rule | ||
member_point_rules | Member Point Rules | ||
line_login |
| Line Login Rule | { |
birthday_format |
| The birthday format of the user (default: "YYYY/MM/DD") Example Values:
| YYYY/MM/DD |
email_verification |
| Enable Email Verification | { "status": "true" } |
email_login_with_verification |
| Customer require Email Verification to login | { "status": "true" } |
sms_verification |
| Enable MobilePhone Verification | { Supported_countries value |
{
"pos_apply_credit": false,
"minimum_age_limit": "13",
"enable_member_point": true,
"enable_user_credit": true,
"line_login": {
"status": "active"
},
"email_verification": { "status": "true" },
"email_login_with_verification": { "status": "true" },
"sms_verification": {
"status": "true",
"supported_countries": ["*"]
},
"birthday_format": "YYYY/MM/DD"
}Updated 13 days ago