- 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
Special Offer Details
Production
Production
GET
https://api.salla.dev/admin/v2/specialoffers/{specialoffer}
Special Offers
Last modified:2025-02-02 12:23:10
specialoffer
as a path parameter.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 ********************
Path Params
specialoffer
integer
required
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/specialoffers/'
Responses
🟢200Success
application/json
Body
status
number
optional
success
boolean
optional
data
object (SpecialOffer)
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
Example
{
"status": 200,
"success": true,
"data": {
"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"
}
}
}
🟠404Not Found
🟠401Unauthorized
Modified at 2025-02-02 12:23:10