- Welcome 👋
- Get Started
- 水合失败
- Authorization
- Webhooks
- Conditional Webhooks
- Security Considerations
- Multi-Language Support
- Responses
- Pagination
- Rate Limiting
- Versioning
- Change Log
- Support
- 测试
- APIs
- Orders
- Order Status
- Order Histories
- Abandoned Carts
- Order Tags
- Order Invoice
- Order Reservations
- Order Items
- Products
- Product Options
- Product Quantity
- Product Variants
- Product Tags
- Product Images
- Product Option Values
- 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
- Orders
- Webhooks - Store Events
- 其他资源-Module
- 其他资源 Copy
Customer Loyalty Points
Develop Env
https://echo.apifox.com/anything
Develop Env
https://echo.apifox.com/anything
GET
https://echo.apifox.com/anything
Loyality Points
Last modified:2025-02-20 07:53:20
Maintainer:Not configured
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://echo.apifox.com/anything/customers/loyalty/points?customer_id=1257881496'
Responses
🟢200OK
application/json
Body
status
integer
required
success
boolean
required
data
array[object (Loyalty Points) {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": null,
"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": null,
"used_at": null,
"notes": "sample note",
"reference_id": null
}
],
"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

扫码加入 Apifox 微信交流群
在这里,获得 Apifox 使用上的任何帮助,快速上手让你的研测效率得到大幅提升

