本文档由 Apifox 自动生成,推荐使用 Apifox - API 文档、API 调试、API Mock、API 自动化测试!
customers.read_write
- Customers Read & WriteAuthorization: Bearer ********************
{
"first_name": "Ahmed",
"last_name": "Ali",
"mobile": "777777777",
"mobile_code_country": "+967",
"country_code": "SA",
"gender": "female",
"birthday": "1997-06-03",
"email": "ahmedali@test.test",
"groups": [
"11323141",
"11323142"
]
}
curl --location --request POST 'https://echo.apifox.com/anything/customers' \
--header 'Content-Type: application/json' \
--data-raw '{
"first_name": "Ahmed",
"last_name": "Ali",
"mobile": "777777777",
"mobile_code_country": "+967",
"country_code": "SA",
"gender": "female",
"birthday": "1997-06-03",
"email": "ahmedali@test.test",
"groups": [
"11323141",
"11323142"
]
}'
{
"status": 200,
"success": true,
"data": {
"id": 2075683582,
"first_name": "Ahmed",
"last_name": "Ali",
"mobile": 777777777,
"mobile_code": "967",
"email": "ahmedali@test.test",
"urls": {
"customer": "https://shtara.com/profile",
"admin": "https://shtara.com/profiley"
},
"avatar": "https://i.ibb.co/jyqRQfQ/avatar-male.webp",
"gender": "male",
"city": "Riyadh",
"country": "السعودية",
"location": "null",
"updated_at": {
"date": "2020-04-02 22:43:26.000000",
"timezone_type": 3,
"timezone": "Asia/Riyadh"
},
"groups": [
11323141,
11323142
]
}
}
扫码加入 Apifox 微信交流群
在这里,获得 Apifox 使用上的任何帮助,快速上手让你的研测效率得到大幅提升