- 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
List Coupon Codes
Develop Env
https://echo.apifox.com/anything
Develop Env
https://echo.apifox.com/anything
GET
https://echo.apifox.com/anything
Coupons
Last modified:2025-02-20 07:53:20
Maintainer:Not configured
coupon_id
as a query parameter.Scopes
marketing.read
- Marketing Read OnlyRequest
Authorization
Add the parameter
Authorization
to Headers,whose value is to concatenate the Token after the Bearer.Example:
Authorization: Bearer ********************
Query Params
coupon_id
integer
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/coupons/codes?coupon_id=1257881496'
Responses
🟢200Success
application/json
Body
status
integer
optional
success
boolean
optional
data
array[object (ChildCouponCodes) {2}]
optional
id
integer
required
code
string
required
<= 10 characters
pagination
object (Pagination)
optional
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": [
{
"id": 385681437,
"code": "coupgmrGA"
},
{
"id": 1622792886,
"code": "coupgedkl"
},
{
"id": 847582715,
"code": "coupYgPYm"
},
{
"id": 207766776,
"code": "coupTyWXg"
},
{
"id": 1582287441,
"code": "coupgOuHi"
},
{
"id": 672429890,
"code": "coupgKhcv"
},
{
"id": 997861675,
"code": "coupgVbU8"
},
{
"id": 1474282764,
"code": "coupgPQFE"
},
{
"id": 56440983,
"code": "coupgmrEQ"
},
{
"id": 19378402502,
"code": "coupggFg9"
},
{
"id": 1299038111,
"code": "coupgBzJc"
},
{
"id": 525025974,
"code": "coupgUvBh"
},
{
"id": 1762616341,
"code": "coupRVtYC"
},
{
"id": 989684078,
"code": "coupgyIYy"
},
{
"id": 349932097,
"code": "coupgiDru"
}
],
"pagination": {
"count": 15,
"total": 200,
"perPage": 15,
"currentPage": 3,
"totalPages": 14,
"links": {
"previous": "http://api.salla.dev/admin/v2/coupons/codes?coupon_id=626791646&page=2",
"next": "http://api.salla.dev/admin/v2/coupons/codes?coupon_id=626791646&page=4"
}
}
}
🟠404Not Found
🟠422Error Validation
🟠401Unauthorized

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

