- 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
List Special Offers
Develop Env
https://echo.apifox.com/anything
Develop Env
https://echo.apifox.com/anything
GET
https://echo.apifox.com/anything
Special Offers
Last modified:2025-02-20 07:53:20
Maintainer:Not configured
Scopes
specialoffers.read
- Special Offers Read OnlyRequest
Authorization
Add the parameter
Authorization
to Headers,whose value is to concatenate the Token after the Bearer.Example:
Authorization: Bearer ********************
Query Params
per_page
integer
optional
page
integer
optional
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/specialoffers'
Responses
🟢200Success
application/json
Body
status
number
optional
success
boolean
optional
data
array[object (SpecialOffer) {11}]
optional
id
number
required
name
string
required
message
string
required
expiry_date
string
required
Example:
2025-01-01
start_date
string
required
offer_type
enum<string>
required
Allowed values:
buy_x_get_yfixed_amountpercentagediscounts_table
status
string
required
show_price_after_discount
boolean
required
show_discounts_table_message
boolean
required
buy
object
required
get
object
required
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": 1000479948,
"name": "اشتري 1 واحصل على الاخر مجانا",
"message": "اشتري قطعة واحصل على قطعة واحدة مجاناً من التصنيفات التالية",
"expiry_date": null,
"start_date": null,
"offer_type": "buy_x_get_y",
"status": "active",
"show_price_after_discount": null,
"show_discounts_table_message": false,
"buy": {
"type": "category",
"quantity": 1,
"categories": [
{
"id": 1032561074,
"name": "الفساتين",
"urls": {
"customer": "https://salla.sa/dev-wofftr4xsra5xtlv/الفساتين/c1032561074",
"admin": "https://s.salla.sa/categories"
},
"items": [],
"parent_id": 0,
"status": "active",
"sort_order": 1,
"update_at": {
"date": "2022-04-25 19:46:26.000000",
"timezone_type": 3,
"timezone": "Asia/Riyadh"
}
}
]
},
"get": {
"type": "category",
"discount_type": "free-product",
"categories": [
{
"id": 1548055,
"name": "الفساتين",
"avatar": "sicon-store2",
"created_at": "2021-11-01T13:46:06.000000Z",
"updated_at": "2022-04-25T16:46:26.000000Z",
"deleted_at": null,
"store_id": 577778,
"parent_id": 0,
"products_counts": 4,
"show_in_menu": 0,
"sort_order": 1,
"status": "active",
"has_hidden_products": 0,
"show_in_app": 1,
"extra_attributes": [],
"custom_url": null
}
],
"discount_amount": "0.00"
}
},
{
"id": 1799075371,
"name": "new offer",
"message": "اشتري قطعة واحصل على خصم 5 ر.س من المنتجات التالية",
"expiry_date": "2024-02-14 15:20:00",
"start_date": null,
"offer_type": "fixed_amount",
"status": "active",
"show_price_after_discount": null,
"show_discounts_table_message": false,
"applied_to": "product",
"buy": {
"min_amount": 10,
"min_items": 0,
"products": []
},
"get": {
"discount_amount": "5.00"
}
},
{
"id": 1410023903,
"name": "نسبة من المشتريات",
"message": "احصل على خصم {offer_percent}",
"expiry_date": "2022-06-26 20:45:00",
"start_date": "2022-06-21 09:50:00",
"offer_type": "percentage",
"status": "active",
"show_price_after_discount": false,
"show_discounts_table_message": false,
"applied_to": "order",
"buy": {
"min_amount": 200,
"min_items": 0
},
"get": {
"discount_amount": "10.00"
}
}
],
"pagination": {
"count": 3,
"total": 3,
"perPage": 30,
"currentPage": 1,
"totalPages": 1,
"links": []
}
}
🟠401Unauthorized

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

