Light Mode
Customer Details
GET
/customers/{customer}Last modified: 23 days ago
This endpoint allows you to return a specific customer's details by passing the customer
as a path parameter.
Request
Path Params
customer
integer
required
The Customer ID. List of Customers ID can be found here.
Request samples
Responses
Success(200)
Not Found(404)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
{
"status": 200,
"success": true,
"data": {
"id": 2075683582,
"first_name": "Ahmed",
"last_name": "Ali",
"mobile": 777777777,
"mobile_code": "967",
"email": "[email protected]",
"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": "السعودية",
"country_code": "sa",
"location": "null",
"updated_at": {
"date": "2020-04-02 22:43:26.000000",
"timezone_type": 3,
"timezone": "Asia/Riyadh"
},
"groups": [
11323141,
11323142
]
}
}
Last modified: 23 days ago