specialoffers.read_write- Special Offers Read & WriteAuthorization: Bearer ********************{
"name": "Buy One Get One Free",
"message": "Buy One Get One Free",
"applied_channel": "browser_and_application",
"offer_type": "buy_x_get_y",
"applied_to": "product",
"start_date": "2024-12-30",
"expiry_date": "2024-12-31",
"min_purchase_amount": 100,
"min_items_count": 2,
"min_items": 0,
"buy": {
"type": "product",
"min_amount": 10,
"quantity": 1,
"products": [
401511871
]
},
"get": {
"type": "product",
"discount_type": "percentage",
"discount_amount": 5,
"quantity": 1,
"products": [
401511871
]
},
"countries": [
566146469,
1473353380
],
"select_by": "mobile",
"scopes_ids": [
289292369,
1473353380
],
"customer_groups": [
1354073706
]
}curl --location --request POST 'https://api.salla.dev/admin/v2/specialoffers' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Buy One Get One Free",
"message": "Buy One Get One Free",
"applied_channel": "browser_and_application",
"offer_type": "buy_x_get_y",
"applied_to": "product",
"start_date": "2024-12-30",
"expiry_date": "2024-12-31",
"min_purchase_amount": 100,
"min_items_count": 2,
"min_items": 0,
"buy": {
"type": "product",
"min_amount": 10,
"quantity": 1,
"products": [
401511871
]
},
"get": {
"type": "product",
"discount_type": "percentage",
"discount_amount": 5,
"quantity": 1,
"products": [
401511871
]
},
"countries": [
566146469,
1473353380
],
"select_by": "mobile",
"scopes_ids": [
289292369,
1473353380
],
"customer_groups": [
1354073706
]
}'{
"status": 200,
"success": true,
"data": {
"id": 374680268,
"name": "Buy one get one",
"message": "اشتري قطعتين واحصل على قطعة واحدة مجاناً من المنتجات التالية",
"expiry_date": "2026-04-25 11:14:45",
"start_date": "2026-01-30 11:15:21",
"offer_type": "buy_x_get_y",
"status": "inactive",
"show_price_after_discount": false,
"show_discounts_table_message": false,
"countries": [],
"customer_groups": [
909470991,
1281032
],
"applied_to": "product",
"select_by": "",
"options": [],
"based_on": null,
"buy": {
"type": "product",
"quantity": 2,
"products": [
{
"id": 187002438,
"sku": "",
"name": "iphone pro",
"price": 81,
"currency": "SAR",
"description": null,
"options": "",
"type": "product",
"store_id": 67593,
"brand_id": null,
"quantity": 1397,
"status": "sale",
"rand_token": "",
"views": 0,
"created_at": "2025-12-16T11:53:13.000000Z",
"updated_at": "2026-01-11T18:01:01.000000Z",
"minimum_order_time": "0",
"maximum_daily_order": null,
"maximum_quantity_per_order": null,
"allow_attachments": 0,
"pinned": 0,
"pinned_date": "2025-12-16 14:53:13",
"sale_price": null,
"sale_end": null,
"source": "24",
"require_shipping": 0,
"cost_price": null,
"digital_download_limit": null,
"digital_download_expiry": null,
"from_instagram": 0,
"weight": null,
"with_tax": true,
"hide_quantity": false,
"min_amount_donating": null,
"max_amount_donating": null,
"subtitle": null,
"active_advance": 1,
"enable_upload_image": false,
"searchable_at": null,
"promotion_title": null,
"extra_attributes": {
"tax_reason_code": null,
"has_custom_fields": false
},
"sort": 0,
"enable_note": false,
"thumbnail": "https://cdn.salla.sa/NKZOK/53f66e65-fe61-42ef-b2e1-e8641d49c101-357.14285714286x500-tQmmx9Tk6iNRFk1eQ44rfskE6UIHsKtnzWT94FfP.jpg",
"thumbnail_alt_seo": "",
"target_donating_enable": false,
"unlimited_quantity": false,
"managed_by_branches": 1,
"notify_quantity": null,
"show_in_app": true,
"child": 0,
"customized_sku_quantity": 1,
"starting_price": 70,
"custom_url": null,
"calories": null,
"minimum_notify_quantity": null,
"subscribers_percentage": null,
"mpn": null,
"gtin": null,
"real_weight": null,
"weight_type": "kg",
"show_in_mahly_app": 0,
"mahly_category_id": null,
"spam_status": 0,
"show_in_web": true,
"minimum_quantity_per_order": 1,
"shipping_international": null,
"shipping_box_id": null,
"scoped_prices": [],
"sale_start": null,
"manufacture_country_id": null,
"show_in_landing_page": false
}
]
},
"get": {
"type": "product",
"discount_type": "free-product",
"quantity": 1,
"products": [
{
"id": 1537458321,
"type": "group_products",
"promotion": {
"title": null,
"sub_title": null
},
"quantity": null,
"status": "sale",
"is_available": true,
"sku": "",
"name": "Test advanced bundle",
"price": {
"amount": 0,
"currency": "SAR"
},
"sale_price": {
"amount": 0,
"currency": "SAR"
},
"currency": "SAR",
"url": "https://mozdanastore.com/ar/test-advanced-bundle/p1537458321",
"thumbnail": "https://cdn.salla.sa/NKZOK/b8771dc7-04fe-4001-b5cf-42c200466940-375x500-bzf6rtjVLWFkpkEXVsaGgkTN4vycHnleV656t6Xd.webp",
"has_special_price": false,
"regular_price": {
"amount": 0,
"currency": "SAR"
},
"calories": null,
"mpn": null,
"gtin": null,
"description": "",
"has_preorder_campaign": false,
"preorder": null,
"favorite": null,
"features": {
"availability_notify": null,
"show_rating": true
},
"activePreorderCampaign": null
}
]
},
"tiers": [],
"apply_type": null,
"with_current_cart": false,
"special_price": null,
"applied_with_coupon": false,
"scopes": [
1473353380,
289292369
]
}
}