- 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
- Branches
- Currencies
- SEO
- Cities
- DNS Records
- Languages
- Employees
- Advertisements
- Webhooks
- Custom URLs
- Loyalty Points
- Reviews
- Orders
- Webhooks - Store Events
List Special Offers
Production
https://api.salla.dev/admin/v2
Production
https://api.salla.dev/admin/v2
GET
https://api.salla.dev/admin/v2
Special Offers
Last modified:2025-01-26 10:43:04
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://api.salla.dev/admin/v2/specialoffers?per_page&page'
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": 613755483, "name": "new free", "message": "اشتري one piece واحصل على specialoffer::special_offers.messages.get-discount- من المنتجات التالية", "expiry_date": null, "start_date": null, "offer_type": "", "status": "active", "show_price_after_discount": null, "show_discounts_table_message": false, "applied_to": null, "buy": { "min_amount": 0, "min_items": 0 }, "get": { "discount_amount": null } }, { "id": 400525076, "name": "new offer", "message": "First Offer Congratulations {offer_get_qty} {offer_percent} Try our new offer {offer_buy_qty} and apply the following code: AZ https://shalfa.net/m/?", "expiry_date": "2024-09-01 01:00:00", "start_date": "2024-08-25 16:00:00", "offer_type": "fixed_amount", "status": "active", "show_price_after_discount": false, "show_discounts_table_message": false, "applied_to": "category", "buy": { "min_amount": 0, "min_items": 1, "categories": [ { "id": 283675303, "name": "ماركة بيوديرما", "avatar": "", "created_at": "2022-03-07T11:57:13.000000Z", "updated_at": "2022-04-19T11:25:45.000000Z", "deleted_at": null, "store_id": 4934, "parent_id": 2062595, "products_counts": 0, "show_in_menu": 1, "sort_order": 1, "status": "active", "has_hidden_products": 0, "show_in_app": 1, "extra_attributes": [], "custom_url": null, "mahly_category_id": null, "images": null } ] }, "get": { "discount_amount": "1.00" } }, { "id": 1259945644, "name": "test", "message": "اشتري -4 pieces واحصل على خصم 1900 SAR من التصنيفات التالية", "expiry_date": "2025-05-08 00:00:00", "start_date": null, "offer_type": "fixed_amount", "status": "inactive", "show_price_after_discount": null, "show_discounts_table_message": false, "applied_to": "category", "buy": { "min_amount": 0, "min_items": -4, "categories": [ { "id": 1794053675, "name": "Dress", "avatar": "", "created_at": "2021-09-19T08:17:57.000000Z", "updated_at": "2023-12-30T11:41:48.000000Z", "deleted_at": null, "store_id": 4934, "parent_id": 677747738, "products_counts": 15, "show_in_menu": 0, "sort_order": 5, "status": "active", "has_hidden_products": 0, "show_in_app": 1, "extra_attributes": { "metadata": { "title": "حلو", "description": "حلو و جميل ههاي ههاي" } }, "custom_url": "order", "mahly_category_id": null, "images": "https://cdn.salla.sa/jKxK/t5kk3PVtwdw3xdYP7XHkaoWQ4punxq3mL1lJ3GvS.jpg" } ] }, "get": { "discount_amount": "1900.00" } }, { "id": 619077037, "name": "test 2", "message": "اشتري one piece واحصل على خصم 2 SAR من التصنيفات التالية", "expiry_date": "2022-08-24 17:45:00", "start_date": null, "offer_type": "fixed_amount", "status": "inactive", "show_price_after_discount": null, "show_discounts_table_message": false, "applied_to": "category", "buy": { "min_amount": 0, "min_items": 1, "categories": [ { "id": 759876799, "name": "Others", "avatar": "", "created_at": "2021-07-
🟠401Unauthorized
Modified at 2025-01-26 10:43:04