本文档由 Apifox 自动生成,推荐使用 Apifox - API 文档、API 调试、API Mock、API 自动化测试!
customer
as a path parameter.customers.read_write
- Customers Read & WriteAuthorization: Bearer ********************
{
"first_name": "Ahmed",
"last_name": "Ali",
"email": "ahmed.ali@test.test",
"gender": "female",
"birthday": "1997-06-03"
}
curl --location --request PUT 'https://echo.apifox.com/anything/customers/' \
--header 'Content-Type: application/json' \
--data-raw '{
"first_name": "Ahmed",
"last_name": "Ali",
"email": "ahmed.ali@test.test",
"gender": "female",
"birthday": "1997-06-03"
}'
{
"status": 200,
"success": true,
"data": {
"id": 2075683582,
"first_name": "Ahmed",
"last_name": "Ali",
"mobile": 560716138,
"mobile_code": "999",
"email": "ahmed.ali@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 使用上的任何帮助,快速上手让你的研测效率得到大幅提升