Update Special Offer
PUT
/specialoffers/{specialoffer}This endpoint allows you to update special offer details by passing the specialoffers
as a path parameter.
Request
The Special Offer ID. List of Special Offers ID can be found here
Other Offer Types
The title or label used to identify a specific promotional or discounted offer. 🌐 Support multi-language
A brief statement or communication that conveys the details or benefits of a specific promotional or discount offer. 🌐 Support multi-language
The specific platforms, channels, or methods through which a promotional or special offer is made available or applied.
The category or nature of a particular promotional or discount offer, such as buy-x get-y.
The specific products, services, or items to which a particular promotional or discount offer is intended or allowed to be used or applied, specifying what the offer covers within a product or service catalog.
The date on which a promotional or discount offer start, before which it is not permitted to take advantage of the offer's benefits.
Ensure to follow on the format of the date.
The date on which a promotional or discount offer expires or becomes no longer valid, after which it is not permitted to take advantage of the offer's benefits.
Ensure to follow on the format of the date.
The total minimum order amount to be purchased for this offer to be activated
The minimum order items count to activate this offer.
Specifics on items required for offer eligibility.
Specifics of the offer.
Discount Table Offer Type
The title or label used to identify a specific promotional or discounted offer. 🌐 Support multi-language
The specific platforms, channels, or methods through which a promotional or special offer is made available or applied.
The category or nature of a particular promotional or discount offer, such as buy-x get-y.
The specific products, services, or items to which a particular promotional or discount offer is intended or allowed to be used or applied, specifying what the offer covers within a product or service catalog.
The date on which a promotional or discount offer start, before which it is not permitted to take advantage of the offer's benefits.
Ensure to follow on the format of the date.
The date on which a promotional or discount offer expires or becomes no longer valid, after which it is not permitted to take advantage of the offer's benefits.
Ensure to follow on the format of the date.
Special Offer's status, either active
or inactive
Whether or not the offer should be applied with a valid coupon
Tiered discount in the special offer. Required if offer_type
is discounts_table
{
"name": "new offer",
"applied_channel": "browser_and_application",
"offer_type": "buy_x_get_y",
"applied_to": "product",
"expiry_date": "12/12/2025",
"min_purchase_amount": 100,
"min_items_count": 2,
"min_items": 0,
"buy": {
"type": "product",
"min_amount": 10,
"quantity": 3,
"products": [
401511871
],
"payment_methods": [
1473353380,
1298199463,
349994915
]
},
"get": {
"type": "product",
"discount_type": "percentage",
"discount_amount": 5,
"quantity": 20,
"products": [
401511871
]
}
}
Request samples
[api.label.responses]
Response status code, a numeric or alphanumeric identifier used to convey the outcome or status of a request, operation, or transaction in various systems and applications, typically indicating whether the action was successful, encountered an error, or resulted in a specific condition.
Response flag, boolean indicator used to signal a particular condition or state in the response of a system or application, often representing the presence or absence of certain conditions or outcomes.
Detailed structure of the special offer model object showing its fields and data types.
Special offer ID is a unique identifier associated with a particular promotional or discount offer, allowing for tracking and management of the offer within a system or database.
Special offer name is a descriptive label or title given to a specific promotional offer to distinguish it from others and make it easily recognizable to customers and within an organization's marketing or sales materials. 🌐 Support multi-language
A brief statement or communication that conveys the details or benefits of a specific promotional or discount offer. 🌐 Support multi-language
Special offer end date is the date when a specific promotional or discount offer expires or ends
Special offer start date is the date when a specific promotional or discount offer begins or becomes active.
Special offer type refers to the category or classification that describes the nature or characteristics of a particular promotion, discount, or deal.
Special Offer Status indicates the current condition or state of a specific promotional or discount offer, such as whether it is active, expired, or in a pending or inactive status.
The option to show the price after discount.
The option to refers to show a message or information presented in a table format that displays various discounts, prices, or pricing tiers for different products, services, or items. This message may include details about discounts based on quantities purchased, membership levels, or other criteria.
Specifics on items required for offer eligibility.
Specifics of the offer.
{
"status": 200,
"success": true,
"data": {
"id": 1935541690,
"name": "new offer",
"message": "اشتري 3 قطع واحصل على 20 قطع خصم 5% من المنتجات التالية",
"expiry_date": "0000-00-00 00:00:00",
"start_date": null,
"offer_type": "buy_x_get_y",
"status": "inactive",
"show_price_after_discount": false,
"buy": {
"type": "product",
"quantity": 3,
"products": [
{
"id": 401511871,
"type": "food",
"promotion": {
"title": null,
"sub_title": null
},
"status": "sale",
"is_available": true,
"sku": "",
"name": "بيتزا",
"price": {
"amount": 40.25,
"currency": "SAR"
},
"sale_price": {
"amount": 0,
"currency": "SAR"
},
"currency": "SAR",
"url": "https://salla.sa/dev-wofftr4xsra5xtlv/بيتزا/p401511871",
"thumbnail": "https://cdn.salla.sa/bYQEn/hG0U3oATexBxt4j5QjMt8jcNUi12v97KFw9Q1xTA.jpg",
"has_special_price": false,
"regular_price": {
"amount": 40.25,
"currency": "SAR"
},
"calories": "500.00",
"mpn": null,
"gtin": null,
"favorite": null
}
]
},
"get": {
"type": "product",
"discount_type": "percentage",
"quantity": "20",
"products": []
}
}
}