Create Customer
Production
https://api.salla.dev/admin/v2
Production
https://api.salla.dev/admin/v2
POST
https://api.salla.dev/admin/v2
Customers
Last modified:2025-04-17 07:56:35
Note
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.salla.dev/admin/v2/customers' \
--header 'Content-Type: application/json' \
--data-raw '{
"first_name": "Ahmed",
"last_name": "Ali",
"mobile": "777777777",
"mobile_code_country": "+967",
"gender": "female",
"birthday": "1997-06-03",
"email": "[email protected]",
"groups": [
"11323141",
"11323142"
]
}'
Response Response Example
200 - 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": "السعودية",
"location": "Alaziziiah street, building number 3",
"updated_at": {
"date": "2020-04-02 22:43:26.000000",
"timezone_type": 3,
"timezone": "Asia/Riyadh"
},
"groups": [
11323141,
11323142
]
}
}
Request
Body Params application/json
Responses
Modified at 2025-04-17 07:56:35