- 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 Loyalty Points
Production
Production
GET
https://api.salla.dev/admin/v2/customers/loyalty/points
Loyality Points
Last modified:2025-02-02 12:23:10
INFO
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 ********************
Query Params
customer_id
stringÂ
required
Example:
1257881496
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/loyalty/points?customer_id=1257881496'
Responses
🟢200OK
application/json
Body
status
integerÂ
required
success
booleanÂ
required
data
array[object (LoyaltyPoints) {8}]Â
required
name
stringÂ
required
points
integerÂ
required
used_points
integerÂ
required
status
stringÂ
required
created_at
object (Date)Â
required
expiry_date
stringÂ
2029-02-16 14:59:03
order_id
string  | nullÂ
required
reference_id
string  | nullÂ
required
pagination
object (Pagination)Â
required
count
numberÂ
required
total
numberÂ
required
perPage
numberÂ
required
<= 65
currentPage
numberÂ
required
totalPages
numberÂ
required
links
objectÂ
required
Example
{
"status": 200,
"success": true,
"data": [
{
"name": "مخصصة",
"points": 900,
"used_points": 0,
"status": "مؤكدة",
"created_at": {
"date": "2024-12-17 17:42:14.000000",
"timezone_type": 3,
"timezone": "Asia/Riyadh"
},
"expiry_date": "2029-02-17 17:42:14",
"order_id": 98787845454,
"used_at": {},
"notes": "reason text",
"reference_id": 3215487
},
{
"name": "مخصصة",
"points": 900,
"used_points": 0,
"status": "مؤكدة",
"created_at": {
"date": "2024-12-17 17:15:47.000000",
"timezone_type": 3,
"timezone": "Asia/Riyadh"
},
"expiry_date": "2029-02-17 17:15:47",
"order_id": 123432,
"used_at": "2025-12-31 23:59:59",
"notes": "sample note",
"reference_id": 1234321
}
],
"pagination": {
"count": 30,
"total": 39,
"perPage": 30,
"currentPage": 1,
"totalPages": 2,
"links": {
"next": "http://api.salla.dev/admin/v2/customers/loyalty/points?customer_id=1227534533&page=2"
}
}
}
🟠422Validation
🟠401Unauthorized
Modified at 2025-02-02 12:23:10