- Welcome 👋
- Get Started
- Create Your First App
- Authorization
- Webhooks
- Conditional Webhooks
- Security Considerations
- Multi-Language Support
- Responses
- Pagination
- Rate Limiting
- Versioning
- Change Log
- Support
- APIs
- Orders
- Order Status
- Order Histories
- Order Tags
- Order Invoice
- Order Reservations
- Order Items
- Products
- Product Options
- Product Quantity
- Product Variants
- Product Tags
- Product Images
- Product Option Values
- Abandoned Carts
- Customer Groups
- Customers
- Digitals Product
- Categories
- Exports
- Shipments
- Shipping Companies
- Shipping Zones
- Shipping Rules
- Countries
- Product Option Templates
- Taxes
- Coupons
- Affiliates
- Order Assignment
- Special Offers
- Transactions
- Payments
- Settlements
- Settings
- Merchant
- Brands
- Reviews
- Branches
- Currencies
- SEO
- Cities
- DNS Records
- Languages
- Employees
- Advertisements
- Webhooks
- Custom URLs
- Loyalty Points
- Webhooks - Store Events
Customer Details
Production
Production
GET
https://api.salla.dev/admin/v2/customers/{customer}
Customers
Last modified:2025-02-04 12:14:23
customer
as a path parameter.500
request per 10
minutes. For more details, please visit the Rate Limiting & change log documentation page.Scopes
customers.read
- Customers Read OnlyRequest
Authorization
Add the parameter
Authorization
to Headers,whose value is to concatenate the Token after the Bearer.Example:
Authorization: Bearer ********************
Path Params
customer
integer
required
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.salla.dev/admin/v2/customers/'
Responses
🟢200Success
application/json
Body
status
number
optional
success
boolean
optional
data
object (Customer)
optional
id
number
required
first_name
string
required
<= 25 characters
last_name
string
required
<= 25 characters
mobile
number
required
mobile_code
string
required
email
string <email>
required
urls
object (Urls)
required
avatar
string
required
gender
enum<string>
required
Allowed values:
malefemale
birthday
object
required
city
string
required
country
string
required
country_code
string
required
currency
string
required
location
string
required
updated_at
object (Date)
required
groups
array[integer]
required
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": "Alnaseem Street, house number 1",
"updated_at": {
"date": "2020-04-02 22:43:26.000000",
"timezone_type": 3,
"timezone": "Asia/Riyadh"
},
"groups": [
11323141,
11323142
]
}
}
🟠404Not Found
🟠401Unauthorized
Modified at 2025-02-04 12:14:23