Customer Loyalty Points
Production
https://api.salla.dev/admin/v2
Production
https://api.salla.dev/admin/v2
GET
https://api.salla.dev/admin/v2
Loyality Points
Last modified:2025-04-21 12:24:42
INFO
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.salla.dev/admin/v2/customers/loyalty/points?customer_id=1257881496'
Response Response Example
200 - Success
{
"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"
}
}
}
Request
Query Params
customer_id
stringÂ
required
Example:
1257881496
Responses
Modified at 2025-04-21 12:24:42