Salla Docs
Merchant API
  • Merchant API
  • Salla OAuth 2.0
Partner APIs
  • App API
  • Shipment API
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Change Log
Salla CLI
Merchant API
  • Merchant API
  • Salla OAuth 2.0
Partner APIs
  • App API
  • Shipment API
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Change Log
Salla CLI
Salla - Opensource
Salla - Developers Community
  1. Special Offers
  • 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
      • Create Order
      • List Orders
      • Order Details
      • Create Drafted Order
      • Update Order
      • Duplicate Order
      • Order Actions
    • Order Status
      • Update Order Status
      • Create Custom Order Status
      • List Order Statuses
      • Order Status Details
      • Update Custom Order Status
      • Update Bulk Orders Statuses
      • Sort Orders Statuses
    • Order Histories
      • List Order Histories
      • Create Order History
    • Order Tags
      • Create Order Tag
      • List Order Tags
      • Delete Order Tag
    • Order Invoice
      • Create Invoice
      • List Invoices
      • Invoice Details
      • Send Order Invoice
      • Create Order Invoice
    • Order Reservations
      • List Order Reservations
    • Order Items
      • List Order Items
      • Create Order Item
      • Update Order Item
      • Delete Order Item
    • Products
      • Create Product
      • List Products
      • Product Details
      • Update Product
      • Delete Product
      • Change Product Status
      • Product Details By SKU
      • Update Product By SKU
      • Delete Product By SKU
      • Update Product Price By SKU
      • Update Bulk Product Prices
      • Import Products
      • Bulk Product Actions
    • Product Options
      • Create Product Option
      • Product Option Details
      • Update Product Option
      • Delete Product Option
    • Product Quantity
      • List Product Quantities
      • Update Bulk Quantities
      • List Quantity Change Reasons
      • List Quantity Audit
      • Update Bulk Quantities by SKU
      • Update Quantity
      • Update Quantity By SKU
    • Product Variants
      • List Product Variants
      • Product Variant Details
      • Update Product Variant
      • Update Product Variant Quantity
    • Product Tags
      • Create Product Tag
      • List Product Tags
    • Product Images
      • Attach Image by SKU
      • Attach Video by SKU
      • Attach Youtube Video
      • Attach Image
      • Update Image
      • Delete Image
    • Product Option Values
      • Create Product Option Value
      • Product Option Value Details
      • Update Product Option Value
      • Delete Product Option Value
    • Abandoned Carts
      • List Abandoned Carts
      • Abandoned Cart Details
    • Customer Groups
      • Create Customer Group
      • List Customer Groups
      • Add Customers To Group Customer
      • Update Default Customer Group
      • Update Customer Group
      • Delete Customer Group
    • Customers
      • Create Customer
      • List Customers
      • Customer Details
      • Update Customer
      • Delete Customer
      • Ban Customer
      • Un-Ban customer
      • Import Customers
    • Digitals Product
      • Attach Digital Code
      • Attach Digital File
      • Delete Digital File
    • Categories
      • Create Category
      • List Categories
      • Category Details
      • Update Category
      • Delete Category
      • Category Children
      • Categories Search
      • List Category Products
    • Exports
      • Export Orders
      • Exports Logs
      • List Export Templates
      • Create Export Template
      • Update Export Template
      • Delete Export Template
      • List Export Columns
      • Export Customers
      • Export Custom URLs
      • Export Products
    • Shipments
      • Create Shipment
      • List Shipments
      • Shipment Details
      • Shipment Tracking
      • Update Shipment Details
      • Cancel Shipment
      • Return Shipment
    • Shipping Companies
      • List Shipping Companies
      • Shipping Company Details
      • List Estimate Rates
      • Create Shipping Company
      • Update Shipping Company
      • Delete Shipping Company
      • Shipping Company Options
    • Shipping Zones
      • Create Shipping Zone
      • List Shipping Zones
      • Shipping Zone Details
      • Update Shipping Zone
      • Delete Shipping Zone
    • Shipping Rules
      • List Shipping Rules
      • Shipping Rule Details
      • Delete Shipping Rule
    • Countries
      • List Countries
      • Country Details
    • Product Option Templates
      • List Option Templates
      • Option Template Details
      • Delete Option Template
      • Update Option Template
      • Create Option Template
    • Taxes
      • Create Tax
      • List Taxes
      • Tax Details
      • Update Tax
      • Delete Tax
    • Coupons
      • Create Coupon
      • List Coupons
      • Coupon Details
      • Update Coupon
      • Delete Coupon
      • List Coupon Codes
    • Affiliates
      • List Affiliates
      • Affiliate Details
      • Create Affiliate
      • Update Affiliate
      • Delete Affiliate
    • Order Assignment
      • List Auto Assignment Rules
      • Order Assigned Employees Details
      • Update Auto Assignment Rule
      • Create Auto Assignment Rules
    • Special Offers
      • Create Special Offer
        POST
      • List Special Offers
        GET
      • Special Offer Details
        GET
      • Update Special Offer
        PUT
      • Delete Special Offer
        DELETE
      • Change Special Offer Status
        PUT
    • Transactions
      • List Transactions
      • Transaction Details
      • Update Transaction
    • Payments
      • Available Payment Methods
      • List Banks
      • Payment Bank Details
    • Settlements
      • List Instant Settlements
      • Create Instant Settlement
      • Update Instant Settlement
      • Instant Settlement Details
    • Settings
      • Settings List
      • Update Setting Slug
      • Setting Details
    • Merchant
      • User Information Details
      • Store Information
    • Brands
      • Create Brand
      • List Brands
      • Brand Details
      • Update Brand
      • Delete Brand
    • Branches
      • Create Branch
      • List Branches
      • Branch Details
      • Update Branch
      • Delete Branch
    • Currencies
      • Activate Currencies
      • List Currencies
      • List Available Currencies
    • SEO
      • List SEO Settings
      • Update SEO Settings
    • Cities
      • List Cities
    • DNS Records
      • List DNS Records
      • Create DNS Record
      • Delete DNS Record
    • Languages
      • Add Language
      • List Languages
      • Update Language
    • Employees
      • List Employees
    • Advertisements
      • Create Advertisement
      • List Advertisements
      • Advertisement Details
      • Update Advertisement
      • Delete Advertisement
    • Webhooks
      • List Active Webhooks
      • List Events
      • Register Webhook
      • Deactivate Webhook
      • Update Webhook
    • Custom URLs
      • Import Custom URLs
    • Loyalty Points
      • Customer Loyalty Points
      • Update Customer Loyalty Points
    • Reviews
      • List Reviews
      • Review Details
      • Update Review
  • Webhooks - Store Events
    • Order
    • Product
    • Customer
    • Shippings
    • Shipments
    • Brand
    • Invoice
    • Category
    • Store
    • Special Offer
    • Cart
    • Miscellaneous
  1. Special Offers

List Special Offers

Production
https://api.salla.dev/admin/v2
Production
https://api.salla.dev/admin/v2
GET
https://api.salla.dev/admin/v2
/specialoffers
Special Offers
Last modified:2025-01-26 10:43:04
This endpoint allows you to list all special offers related to the store.
Scopes
specialoffers.read- Special Offers Read Only

Request

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
Products limit per page
page
integer 
optional
The Pagination page number

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
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.
success
boolean 
optional
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.
data
array[object (SpecialOffer) {11}] 
optional
id
number 
required
A unique identifier associated with a particular promotional or discount offe.
name
string 
required
A descriptive label or title given to a specific promotional offer to distinguish it from others. 🌐 Support multi-language
message
string 
required
A brief statement or communication that conveys the details or benefits of a specific promotional or discount offer. 🌐 Support multi-language
expiry_date
string 
required
The date when a specific promotional or discount offer expires or ends.
Example:
2025-01-01
start_date
string 
required
Special offer start date is the date when a specific promotional or discount offer begins or becomes active.
offer_type
enum<string> 
required
The category or classification that describes a particular promotion, discount, or deal.
Allowed values:
buy_x_get_yfixed_amountpercentagediscounts_table
status
string 
required
The current condition of a specific discount offer, such as whether it is active, expired, or in a pending or inactive status.
show_price_after_discount
boolean 
required
The option to show the price after discount.
show_discounts_table_message
boolean 
required
Whether or not to show information presented in a table format that displays various discounts.
buy
object 
required
Specifics on items required for offer eligibility.
get
object 
required
Specifics of the offer.
pagination
object (Pagination) 
optional
For a better response behavior as well as maintain the best security level, All retrieving API endpoints use a mechanism to retrieve data in chunks called pagination. Pagination working by return only a specific number of records in each response, and through passing the page number you can navigate the different pages.
count
number 
required
Number of returned results.
total
number 
required
Number of all results.
perPage
number 
required
Number of results per page.
<= 65
currentPage
number 
required
Number of current page.
totalPages
number 
required
Number of total pages.
links
object 
required
Array of linkes to next and previous pages.
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-27T10:47:05.000000Z",
            "updated_at": "2022-04-13T14:07:36.000000Z",
            "deleted_at": null,
            "store_id": 4934,
            "parent_id": 0,
            "products_counts": 1,
            "show_in_menu": 0,
            "sort_order": 37,
            "status": "active",
            "has_hidden_products": 0,
            "show_in_app": 1,
            "extra_attributes": [],
            "custom_url": null,
            "mahly_category_id": null,
            "images": null
          }
        ]
      },
      "get": {
        "discount_amount": "2.00"
      }
    },
    {
      "id": 134547371,
      "name": "test 3",
      "message": "اشتري one piece واحصل على خصم 5 SAR من المنتجات التالية",
      "expiry_date": "2021-02-28 00:00:00",
      "start_date": null,
      "offer_type": "fixed_amount",
      "status": "inactive",
      "show_price_after_discount": null,
      "show_discounts_table_message": false,
      "applied_to": "product",
      "buy": {
        "min_amount": 10,
        "min_items": 0,
        "products": [
          {
            "id": 1373482600,
            "sku": "",
            "name": "cake",
            "price": 219,
            "currency": "SAR",
            "description": "<p><br></p>",
            "options": "",
            "type": "food",
            "store_id": 4934,
            "brand_id": 0,
            "quantity": 100,
            "status": "sale",
            "rand_token": "",
            "views": 0,
            "created_at": "2021-01-16T20:50:16.000000Z",
            "updated_at": "2022-08-06T16:53:57.000000Z",
            "minimum_order_time": "0",
            "maximum_daily_order": null,
            "maximum_quantity_per_order": null,
            "allow_attachments": 0,
            "pinned": 0,
            "pinned_date": "2021-01-16 23:50:16",
            "sale_price": 200,
            "sale_end": null,
            "source": "24",
            "require_shipping": 1,
            "cost_price": 151,
            "digital_download_limit": null,
            "digital_download_expiry": null,
            "from_instagram": 0,
            "weight": 0.5,
            "with_tax": false,
            "hide_quantity": false,
            "min_amount_donating": 0,
            "max_amount_donating": 0,
            "subtitle": null,
            "active_advance": 0,
            "enable_upload_image": false,
            "searchable_at": null,
            "promotion_title": null,
            "extra_attributes": {
              "metadata": {
                "title": "",
                "description": ""
              }
            },
            "sort": 18,
            "enable_note": false,
            "thumbnail": "https://cdn.salla.sa/eFzBJX8LKYltVrtT7bMc7GqAHCKLd5UCto62Qk7y.jpg",
            "thumbnail_alt_seo": "",
            "target_donating_enable": false,
            "unlimited_quantity": false,
            "managed_by_branches": 1,
            "notify_quantity": null,
            "show_in_app": false,
            "child": 0,
            "customized_sku_quantity": 1,
            "starting_price": null,
            "custom_url": "",
            "calories": null,
            "minimum_notify_quantity": 15,
            "subscribers_percentage": 100,
            "mpn": null,
            "gtin": null,
            "real_weight": 0.5,
            "weight_type": "kg",
            "show_in_mahly_app": 0,
            "mahly_category_id": null,
            "spam_status": 0,
            "show_in_web": true,
            "minimum_quantity_per_order": null
          }
        ]
      },
      "get": {
        "discount_amount": "5.00"
      }
    },
    {
      "id": 1569519976,
      "name": "New life",
      "message": "اشتري one piece واحصل على one piece خصم 20%  من المنتجات التالية",
      "expiry_date": "2021-03-31 00:00:00",
      "start_date": null,
      "offer_type": "buy_x_get_y",
      "status": "inactive",
      "show_price_after_discount": null,
      "show_discounts_table_message": false,
      "applied_to": "category",
      "buy": {
        "type": "category",
        "quantity": 1,
        "categories": {
          "1": {
            "id": 205564386,
            "name": "فواكه",
            "avatar": "",
            "created_at": "2018-11-27T12:18:09.000000Z",
            "updated_at": "2022-04-13T14:07:36.000000Z",
            "deleted_at": null,
            "store_id": 4934,
            "parent_id": 0,
            "products_counts": 4,
            "show_in_menu": 1,
            "sort_order": 39,
            "status": "active",
            "has_hidden_products": 0,
            "show_in_app": 1,
            "extra_attributes": [],
            "custom_url": null,
            "mahly_category_id": null,
            "images": null
          },
          "2": {
            "id": 1255216786,
            "name": "فواكه صيفية",
            "avatar": "",
            "created_at": "2020-12-26T16:30:42.000000Z",
            "updated_at": "2020-12-27T08:56:15.000000Z",
            "deleted_at": null,
            "store_id": 4934,
            "parent_id": 30535,
            "products_counts": 1,
            "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": 454,
            "images": null
          }
        }
      },
      "get": {
        "type": "product",
        "discount_type": "percentage",
        "quantity": "1",
        "products": [
          {
            "id": 1346261513,
            "type": "product",
            "promotion": {
              "title": null,
              "sub_title": null
            },
            "quantity": null,
            "status": "sale",
            "is_available": true,
            "sku": "",
            "name": "Kiwi",
            "price": {
              "amount": 200,
              "currency": "SAR"
            },
            "sale_price": {
              "amount": 200,
              "currency": "SAR"
            },
            "currency": "SAR",
            "url": "https://salla.sa/teenzaytoon_est/XeRemw",
            "thumbnail": "https://cdn.salla.sa/sArT8TSGYvmUO7t7D2yt3kg9f7gLMndsyXV330Ss.jpg",
            "has_special_price": true,
            "regular_price": {
              "amount": 219,
              "currency": "SAR"
            },
            "calories": null,
            "mpn": null,
            "gtin": null,
            "description": "<p style=\";text-align:left;direction:ltr\"><br></p>",
            "favorite": null,
            "features": {
              "availability_notify": {
                "email": true,
                "sms": true,
                "mobile": false,
                "whatsapp": false
              },
              "show_rating": false
            },
            "starting_price": null
          }
        ],
        "discount_amount": "20.00"
      }
    },
    {
      "id": 1532290140,
      "name": "One pill and the second for free",
      "message": "اشتري one piece واحصل على one piece مجاناً من المنتجات التالية",
      "expiry_date": "2021-09-30 00:00:00",
      "start_date": null,
      "offer_type": "buy_x_get_y",
      "status": "inactive",
      "show_price_after_discount": null,
      "show_discounts_table_message": false,
      "applied_to": "product",
      "buy": {
        "type": "product",
        "quantity": 1,
        "products": [
          {
            "id": 668975484,
            "sku": "15662553",
            "name": "Green Bag",
            "price": 219,
            "currency": "SAR",
            "description": "",
            "options": "",
            "type": "product",
            "store_id": 4934,
            "brand_id": 47510,
            "quantity": 85,
            "status": "sale",
            "rand_token": "",
            "views": 0,
            "created_at": "2021-09-05T14:43:25.000000Z",
            "updated_at": "2023-08-14T18:50:30.000000Z",
            "minimum_order_time": "0",
            "maximum_daily_order": null,
            "maximum_quantity_per_order": 5,
            "allow_attachments": 0,
            "pinned": 0,
            "pinned_date": null,
            "sale_price": 200,
            "sale_end": null,
            "source": "24",
            "require_shipping": 1,
            "cost_price": 151,
            "digital_download_limit": null,
            "digital_download_expiry": null,
            "from_instagram": 0,
            "weight": 1,
            "with_tax": true,
            "hide_quantity": false,
            "min_amount_donating": 0,
            "max_amount_donating": 0,
            "subtitle": "Green Bag {brand}",
            "active_advance": 1,
            "enable_upload_image": false,
            "searchable_at": null,
            "promotion_title": "New",
            "extra_attributes": {
              "metadata": {
                "title": "",
                "description": ""
              }
            },
            "sort": 0,
            "enable_note": false,
            "thumbnail": "https://cdn.salla.sa/jKxK/JyFkNWZI2OMQKxazlu6UZXxJI9tMmPPn9gBZJN3y.jpg",
            "thumbnail_alt_seo": "",
            "target_donating_enable": false,
            "unlimited_quantity": false,
            "managed_by_branches": 1,
            "notify_quantity": 2,
            "show_in_app": false,
            "child": 0,
            "customized_sku_quantity": 1,
            "starting_price": 0,
            "custom_url": "GreenBag",
            "calories": null,
            "minimum_notify_quantity": 15,
            "subscribers_percentage": 100,
            "mpn": "",
            "gtin": "",
            "real_weight": 1,
            "weight_type": "kg",
            "show_in_mahly_app": 0,
            "mahly_category_id": null,
            "spam_status": 0,
            "show_in_web": true,
            "minimum_quantity_per_order": null
          }
        ]
      },
      "get": {
        "type": "product",
        "discount_type": "free-product",
        "quantity": 1,
        "products": [
          {
            "id": 668975484,
            "type": "product",
            "promotion": {
              "title": "New",
              "sub_title": "Green Bag {brand}"
            },
            "quantity": 85,
            "status": "sale",
            "is_available": true,
            "sku": "15662553",
            "name": "Green Bag",
            "price": {
              "amount": 200,
              "currency": "SAR"
            },
            "sale_price": {
              "amount": 200,
              "currency": "SAR"
            },
            "currency": "SAR",
            "url": "https://salla.sa/teenzaytoon_est/edNVYd",
            "thumbnail": "https://cdn.salla.sa/jKxK/JyFkNWZI2OMQKxazlu6UZXxJI9tMmPPn9gBZJN3y.jpg",
            "has_special_price": true,
            "regular_price": {
              "amount": 219,
              "currency": "SAR"
            },
            "calories": null,
            "mpn": "",
            "gtin": "",
            "description": "<p style=\";text-align:left;direction:ltr\"><br></p>",
            "favorite": null,
            "features": {
              "availability_notify": {
                "email": true,
                "sms": true,
                "mobile": false,
                "whatsapp": false
              },
              "show_rating": false
            },
            "starting_price": null
          }
        ]
      }
    },
    {
      "id": 1127073518,
      "name": "Free phone",
      "message": "{offer_percent}",
      "expiry_date": "2021-10-03 00:00:00",
      "start_date": null,
      "offer_type": "percentage",
      "status": "inactive",
      "show_price_after_discount": null,
      "show_discounts_table_message": false,
      "applied_to": "paymentMethod",
      "buy": {
        "min_amount": 0,
        "min_items": 1,
        "payment_methods": [
          {
            "id": 1764372897,
            "slug": "bank",
            "name": "BankTransfer"
          },
          {
            "id": 40688814,
            "slug": "tabby_installment",
            "name": "TabbyInstallment"
          },
          {
            "id": 989286562,
            "slug": "cod",
            "name": "COD"
          }
        ]
      },
      "get": {
        "discount_amount": "2.50"
      }
    },
    {
      "id": 2035393793,
      "name": "Test Offer",
      "message": "اشتري 5 pieces واحصل على 5 pieces خصم 25%  من المنتجات التالية",
      "expiry_date": "2021-12-30 00:00:00",
      "start_date": null,
      "offer_type": "buy_x_get_y",
      "status": "inactive",
      "show_price_after_discount": null,
      "show_discounts_table_message": false,
      "applied_to": "product",
      "buy": {
        "type": "product",
        "quantity": 5,
        "products": [
          {
            "id": 1301156580,
            "sku": "",
            "name": "Flower",
            "price": 219,
            "currency": "SAR",
            "description": "<p>Flower 1 <span style=\"color: rgb(89, 89, 89);\">Flower 1  Flower 1  Flower 1  Flower 1  Flower 1 Flower 1 Flower 1 Flower 1 Flower 1 Flower 1 Flower 1 Flower 1 </span></p>",
            "options": "",
            "type": "product",
            "store_id": 4934,
            "brand_id": 0,
            "quantity": null,
            "status": "sale",
            "rand_token": "",
            "views": 0,
            "created_at": "2021-11-03T05:15:35.000000Z",
            "updated_at": "2022-07-15T18:40:44.000000Z",
            "minimum_order_time": "0",
            "maximum_daily_order": null,
            "maximum_quantity_per_order": null,
            "allow_attachments": 0,
            "pinned": 0,
            "pinned_date": null,
            "sale_price": 200,
            "sale_end": null,
            "source": "24",
            "require_shipping": 1,
            "cost_price": 151,
            "digital_download_limit": null,
            "digital_download_expiry": null,
            "from_instagram": 0,
            "weight": 1,
            "with_tax": true,
            "hide_quantity": false,
            "min_amount_donating": 0,
            "max_amount_donating": 0,
            "subtitle": null,
            "active_advance": 0,
            "enable_upload_image": false,
            "searchable_at": null,
            "promotion_title": null,
            "extra_attributes": {
              "metadata": {
                "title": null,
                "description": null
              }
            },
            "sort": 0,
            "enable_note": false,
            "thumbnail": "https://cdn.salla.sa/jKxK/a3vYHOCNWElUAjtaEkhBLgwbGhxJ6pylRV2g1u1A.jpg",
            "thumbnail_alt_seo": "",
            "target_donating_enable": false,
            "unlimited_quantity": true,
            "managed_by_branches": 1,
            "notify_quantity": null,
            "show_in_app": false,
            "child": 1,
            "customized_sku_quantity": 1,
            "starting_price": null,
            "custom_url": null,
            "calories": null,
            "minimum_notify_quantity": 15,
            "subscribers_percentage": 100,
            "mpn": null,
            "gtin": null,
            "real_weight": 1,
            "weight_type": "kg",
            "show_in_mahly_app": 0,
            "mahly_category_id": null,
            "spam_status": 0,
            "show_in_web": true,
            "minimum_quantity_per_order": null
          }
        ]
      },
      "get": {
        "type": "product",
        "discount_type": "percentage",
        "quantity": "5",
        "products": [
          {
            "id": 1373482600,
            "type": "food",
            "promotion": {
              "title": null,
              "sub_title": null
            },
            "quantity": 100,
            "status": "sale",
            "is_available": true,
            "sku": "",
            "name": "cake",
            "price": {
              "amount": 200,
              "currency": "SAR"
            },
            "sale_price": {
              "amount": 200,
              "currency": "SAR"
            },
            "currency": "SAR",
            "url": "https://salla.sa/teenzaytoon_est/wqxzrW",
            "thumbnail": "https://cdn.salla.sa/eFzBJX8LKYltVrtT7bMc7GqAHCKLd5UCto62Qk7y.jpg",
            "has_special_price": true,
            "regular_price": {
              "amount": 219,
              "currency": "SAR"
            },
            "calories": null,
            "mpn": null,
            "gtin": null,
            "description": "<p><br></p>",
            "favorite": null,
            "features": {
              "availability_notify": {
                "email": true,
                "sms": true,
                "mobile": false,
                "whatsapp": false
              },
              "show_rating": false
            },
            "starting_price": null
          }
        ],
        "discount_amount": "25.00"
      }
    },
    {
      "id": 1262404610,
      "name": "second show",
      "message": "اشتري 3 pieces واحصل على one piece مجاناً من المنتجات التالية",
      "expiry_date": "2021-12-31 00:00:00",
      "start_date": null,
      "offer_type": "buy_x_get_y",
      "status": "inactive",
      "show_price_after_discount": null,
      "show_discounts_table_message": false,
      "applied_to": "product",
      "buy": {
        "type": "product",
        "quantity": 3,
        "products": [
          {
            "id": 91502809,
            "sku": "S20-3200",
            "name": "S20",
            "price": 890,
            "currency": "SAR",
            "description": "<p>هاتف سامسونج الرائد.</p>",
            "options": "",
            "type": "product",
            "store_id": 4934,
            "brand_id": 0,
            "quantity": 0,
            "status": "out",
            "rand_token": "",
            "views": 0,
            "created_at": "2021-12-12T16:17:33.000000Z",
            "updated_at": "2023-04-02T10:19:34.000000Z",
            "minimum_order_time": "0",
            "maximum_daily_order": null,
            "maximum_quantity_per_order": null,
            "allow_attachments": 0,
            "pinned": 0,
            "pinned_date": "2021-12-12 19:17:33",
            "sale_price": 0,
            "sale_end": null,
            "source": "24",
            "require_shipping": 1,
            "cost_price": 200,
            "digital_download_limit": null,
            "digital_download_expiry": null,
            "from_instagram": 0,
            "weight": 0.15,
            "with_tax": true,
            "hide_quantity": false,
            "min_amount_donating": 0,
            "max_amount_donating": 0,
            "subtitle": null,
            "active_advance": 1,
            "enable_upload_image": false,
            "searchable_at": null,
            "promotion_title": null,
            "extra_attributes": {
              "metadata": {
                "title": null,
                "description": null
              }
            },
            "sort": 3,
            "enable_note": false,
            "thumbnail": "https://cdn.salla.sa/jKxK/j2nE0P1Avkgdh4rS45ivjdhkYrNjotHacuIOiEOH.jpg",
            "thumbnail_alt_seo": "",
            "target_donating_enable": false,
            "unlimited_quantity": false,
            "managed_by_branches": 1,
            "notify_quantity": null,
            "show_in_app": false,
            "child": 0,
            "customized_sku_quantity": 1,
            "starting_price": null,
            "custom_url": "S20-SEO-P-U",
            "calories": null,
            "minimum_notify_quantity": 15,
            "subscribers_percentage": 100,
            "mpn": null,
            "gtin": null,
            "real_weight": 0.15,
            "weight_type": "kg",
            "show_in_mahly_app": 0,
            "mahly_category_id": null,
            "spam_status": 0,
            "show_in_web": true,
            "minimum_quantity_per_order": null
          }
        ]
      },
      "get": {
        "type": "product",
        "discount_type": "free-product",
        "quantity": 1,
        "products": []
      }
    },
    {
      "id": 1305045263,
      "name": "1+1",
      "message": "اشتري one piece واحصل على one piece مجاناً من التصنيفات التالية",
      "expiry_date": "2022-01-10 00:00:00",
      "start_date": null,
      "offer_type": "buy_x_get_y",
      "status": "inactive",
      "show_price_after_discount": null,
      "show_discounts_table_message": false,
      "applied_to": "category",
      "buy": {
        "type": "category",
        "quantity": 1,
        "categories": [
          {
            "id": 779444866,
            "name": "Samsung",
            "avatar": "",
            "created_at": "2021-11-04T09:50:53.000000Z",
            "updated_at": "2022-07-06T08:14:04.000000Z",
            "deleted_at": null,
            "store_id": 4934,
            "parent_id": 0,
            "products_counts": 1,
            "show_in_menu": 0,
            "sort_order": 22,
            "status": "active",
            "has_hidden_products": 1,
            "show_in_app": 1,
            "extra_attributes": [],
            "custom_url": null,
            "mahly_category_id": null,
            "images": null
          }
        ]
      },
      "get": {
        "type": "category",
        "discount_type": "free-product",
        "quantity": 1,
        "categories": [
          {
            "id": 779444866,
            "name": "Samsung",
            "image": null,
            "urls": {
              "customer": "https://salla.sa/teenzaytoon_est/category/wWwmVj",
              "admin": "https://s.salla.sa/categories"
            },
            "parent_id": 0,
            "sort_order": 22,
            "status": "active",
            "show_in": {
              "app": true,
              "salla_points": false
            },
            "has_hidden_products": true,
            "update_at": "2022-07-06 11:14:04",
            "metadata": {
              "title": null,
              "description": null,
              "url": null
            }
          }
        ]
      }
    },
    {
      "id": 1400287099,
      "name": "Arab Complex",
      "message": "",
      "expiry_date": "2032-12-25 19:55:00",
      "start_date": null,
      "offer_type": "discounts_table",
      "status": "inactive",
      "show_price_after_discount": true,
      "show_discounts_table_message": false,
      "applied_to": "order",
      "buy": [],
      "discounts_table": [
        {
          "quantity": "2",
          "discount_amount": "5"
        },
        {
          "quantity": "4",
          "discount_amount": "10"
        }
      ],
      "source": null
    },
    {
      "id": 760467012,
      "name": "complex",
      "message": "اشتري 20 pieces واحصل على 10 pieces خصم 20%  من المنتجات التالية",
      "expiry_date": "2022-01-22 00:00:00",
      "start_date": null,
      "offer_type": "buy_x_get_y",
      "status": "inactive",
      "show_price_after_discount": null,
      "show_discounts_table_message": false,
      "applied_to": "product",
      "buy": {
        "type": "product",
        "quantity": 20,
        "products": [
          {
            "id": 1414899111,
            "sku": "Mon1234",
            "name": "الموناليزا",
            "price": 108,
            "currency": "SAR",
            "description": "<p>الموناليزا تيست تيست</p>",
            "options": "",
            "type": "product",
            "store_id": 4934,
            "brand_id": 0,
            "quantity": 0,
            "status": "out",
            "rand_token": "",
            "views": 0,
            "created_at": "2022-01-04T06:51:30.000000Z",
            "updated_at": "2022-12-31T12:45:25.000000Z",
            "minimum_order_time": "0",
            "maximum_daily_order": null,
            "maximum_quantity_per_order": null,
            "allow_attachments": 0,
            "pinned": 0,
            "pinned_date": "2022-01-04 09:51:30",
            "sale_price": 0,
            "sale_end": null,
            "source": "24",
            "require_shipping": 1,
            "cost_price": 15001,
            "digital_download_limit": null,
            "digital_download_expiry": null,
            "from_instagram": 0,
            "weight": null,
            "with_tax": true,
            "hide_quantity": false,
            "min_amount_donating": 0,
            "max_amount_donating": 0,
            "subtitle": null,
            "active_advance": 0,
            "enable_upload_image": false,
            "searchable_at": null,
            "promotion_title": null,
            "extra_attributes": {
              "metadata": {
                "title": "",
                "description": ""
              }
            },
            "sort": 0,
            "enable_note": true,
            "thumbnail": "https://cdn.salla.sa/jKxK/udjbSQVDfMpHqvL6yikocZfeVH6U5I9gZEGatiiW.jpg",
            "thumbnail_alt_seo": "",
            "target_donating_enable": false,
            "unlimited_quantity": false,
            "managed_by_branches": 1,
            "notify_quantity": null,
            "show_in_app": false,
            "child": 1,
            "customized_sku_quantity": 1,
            "starting_price": null,
            "custom_url": "",
            "calories": null,
            "minimum_notify_quantity": 15,
            "subscribers_percentage": 100,
            "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": null
          }
        ]
      },
      "get": {
        "type": "product",
        "discount_type": "percentage",
        "quantity": "10",
        "products": [],
        "discount_amount": "20.00"
      }
    },
    {
      "id": 1195638563,
      "name": "test offer again 5555",
      "message": "اشتري 3 pieces واحصل على خصم 5 SAR من المنتجات التالية",
      "expiry_date": "2022-03-13 00:00:00",
      "start_date": null,
      "offer_type": "fixed_amount",
      "status": "inactive",
      "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": 287841836,
      "name": "test offer again 5555",
      "message": "اشتري 3 pieces واحصل على خصم 5 SAR من المنتجات التالية",
      "expiry_date": "2022-03-13 00:00:00",
      "start_date": null,
      "offer_type": "fixed_amount",
      "status": "inactive",
      "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": 1660239149,
      "name": "test offer again 559999",
      "message": "اشتري 3 pieces واحصل على خصم 5 SAR من المنتجات التالية",
      "expiry_date": "2022-03-13 00:00:00",
      "start_date": null,
      "offer_type": "fixed_amount",
      "status": "inactive",
      "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": 1020419118,
      "name": "test offer again 559999",
      "message": "اشتري one piece واحصل على specialoffer::special_offers.messages.get-discount- من المنتجات التالية",
      "expiry_date": null,
      "start_date": null,
      "offer_type": "",
      "status": "inactive",
      "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": 2112384684,
      "name": "Abady",
      "message": "اشتري one piece واحصل على خصم %5 من المنتجات التالية",
      "expiry_date": "2022-09-23 23:55:00",
      "start_date": null,
      "offer_type": "percentage",
      "status": "inactive",
      "show_price_after_discount": false,
      "show_discounts_table_message": false,
      "applied_to": "paymentMethod",
      "buy": {
        "min_amount": 10,
        "min_items": 0,
        "payment_methods": [
          {
            "id": 1764372897,
            "slug": "bank",
            "name": "BankTransfer"
          },
          {
            "id": 989286562,
            "slug": "cod",
            "name": "COD"
          }
        ]
      },
      "get": {
        "discount_amount": "5.00"
      }
    },
    {
      "id": 693971405,
      "name": "my love is a Barcelona fan",
      "message": "",
      "expiry_date": "2022-06-30 23:55:00",
      "start_date": "2022-06-02 14:40:00",
      "offer_type": "discounts_table",
      "status": "inactive",
      "show_price_after_discount": true,
      "show_discounts_table_message": false,
      "applied_to": "product",
      "buy": {
        "products": [
          {
            "id": 599153700,
            "sku": "",
            "name": "Fa",
            "price": 25,
            "currency": "SAR",
            "description": "<p><strong style=\"color: black;\">ماسك الترطيب العميق للشعر من جوسي ايبر 50مل :</strong></p><ul><li>ماسك جوسي ايبر، يساعد على جعل الشعر التالف والجاف والمتطاير أملس وسهل التحكم.</li><li>يحتوي على البروتينات الأساسية التي تساهم باستعادة صحة الشعر.</li><li>محمل بزيت الأرغان من أجل لمعان ناعم كالحرير.</li><li>شاهدي واشعري بالتأثيرات لمدة تصل إلى 10 أيام.</li><li>يساعد على ترميم سريع للشعر لمدة 20 دقيقة، سهل الاستخدام في المنزل أو أثناء التنقل.</li><li>مناسب لجميع أنواع الشعر.</li><li>طريقة الاستخدام: اغسلي الشعر وحافظي على رطوبته، افتحي قناع الشعر وافرديه. اسحبي قناع الشعر فوق رأسك وثبتي شعرك بداخل القناع. تأكدي من أن كل الشعر مدسوس داخل القناع – للشعر الطويل، قومي بلفه وثنيه داخل القناع بإحكام. قشري الملصق وافتحي القناع وثبتيه في مكانه، اضبطي القناع حتى يصبح في الموضع المفضل. دلكي القناع على شعرك لمدة 2-3 دقائق. اتركي القناع على شعرك لمدة 20 دقيقة، اشطفي الشعر تماماً.</li><li><strong>SKU: </strong>846146033775</li></ul>",
            "options": "",
            "type": "product",
            "store_id": 4934,
            "brand_id": 183096,
            "quantity": 49,
            "status": "sale",
            "rand_token": "",
            "views": 0,
            "created_at": "2022-05-15T12:36:54.000000Z",
            "updated_at": "2022-10-12T14:30:52.000000Z",
            "minimum_order_time": "0",
            "maximum_daily_order": null,
            "maximum_quantity_per_order": null,
            "allow_attachments": 0,
            "pinned": 0,
            "pinned_date": "2022-04-13 17:20:41",
            "sale_price": 0,
            "sale_end": null,
            "source": "24",
            "require_shipping": 1,
            "cost_price": 1,
            "digital_download_limit": null,
            "digital_download_expiry": null,
            "from_instagram": 0,
            "weight": 0.2,
            "with_tax": true,
            "hide_quantity": false,
            "min_amount_donating": 0,
            "max_amount_donating": 0,
            "subtitle": null,
            "active_advance": 0,
            "enable_upload_image": false,
            "searchable_at": null,
            "promotion_title": null,
            "extra_attributes": {
              "metadata": {
                "title": "",
                "description": ""
              }
            },
            "sort": 1,
            "enable_note": false,
            "thumbnail": "https://cdn.salla.sa/jKxK/8EmG86JQd2rmvHm91AsCGTViWi77eHvzUwMIHHe6.jpg",
            "thumbnail_alt_seo": "",
            "target_donating_enable": false,
            "unlimited_quantity": false,
            "managed_by_branches": 1,
            "notify_quantity": 1,
            "show_in_app": false,
            "child": 0,
            "customized_sku_quantity": 1,
            "starting_price": null,
            "custom_url": "",
            "calories": null,
            "minimum_notify_quantity": 1,
            "subscribers_percentage": 100,
            "mpn": null,
            "gtin": null,
            "real_weight": 0.2,
            "weight_type": "kg",
            "show_in_mahly_app": 0,
            "mahly_category_id": null,
            "spam_status": 0,
            "show_in_web": true,
            "minimum_quantity_per_order": null
          }
        ]
      },
      "discounts_table": [
        {
          "quantity": "2",
          "discount_amount": "10"
        },
        {
          "quantity": "3",
          "discount_amount": "15"
        }
      ],
      "source": null
    },
    {
      "id": 848292565,
      "name": "Food offer",
      "message": "Food offer",
      "expiry_date": "2022-10-31 23:00:00",
      "start_date": "2022-10-09 22:40:00",
      "offer_type": "buy_x_get_y",
      "status": "inactive",
      "show_price_after_discount": false,
      "show_discounts_table_message": false,
      "applied_to": "product",
      "buy": {
        "type": "product",
        "quantity": 1,
        "products": [
          {
            "id": 295567604,
            "sku": "21212",
            "name": "مجموعة ادوات تصفيف الشعر من جوسي ايبر وردي زيبرا 25ملم",
            "price": 100,
            "currency": "SAR",
            "description": "<p><b style=\"color:black\">مجموعة ادوات تصفيف الشعر من جوسي ايبر وردي زيبرا 25ملم :</b><ul><li>مجموعة جوسي ايبر، مكواة لف الشعر جوسي ايبر مقاس 25 ملم بدون مشابك من مجموعة برو تعيد تعريف مكواة اللف التقليدية.</li><li>فقد تم تصميم مكواة لف الشعر خوسيه إيبر متعددة الاستعمالات مقاس 25 ملم بدون مشابك من مجموعة برو خصيصاً للف الشعر من الجذور إلى الأطراف مما يقلل التلف والأطراف المنثنية ويمنحك لفات أكثر صحة وطبيعية المظهر وتستمر لمدة أطول بدون استخدام بخاخ الشعر أو المنتجات الأخرى.</li><li>صممت مكواة فرد السيراميك الصلبة جوسي ايبر مقاس 1.25 بوصة لأداء ممتاز وراحة مطلقة في الاستخدام وتقدم مكواة فرد السيراميك الخالص خوسيه إيبر نتائج احترافية.</li><li>ألواح السيراميك الخالص مقاس 1.25 بوصة لن تنكسر أبداً أو تتقشر أو تتلف حيث تمنع التعرض المضر للحرارة.</li><li>تمنح مكواة فرد جوسي ايبر الصغيرة الخاصة بالسفر جودة أداء الصالون في أصغر مقاس مريح متاح.</li><li>بإمكانك الآن الحصول على شعر ناعم كالحرير ونتائج تصفيف احترافية في أي مكان وفي أي وقت.</li><li>جميع المنتجات الثلاثة في مجموعة الهدية هذه، مزدوجة الفولت (110-240).</li><li>مكواة جوسي ايبر السيراميك المسطحة 1.25 بوصة (220 درجة مئوية / 450 درجة فهرنهايت).</li><li>مكواة لف الشعر جوسي ايبر بدون مشابك 25 ملم  (430 درجة فهرنهايت).</li><li>مكواة الشعر الصغيرة 0.5 انش جوسي ايبر.</li><li><b>SKU: </b>846146032358</li></ul></p>",
            "options": "",
            "type": "product",
            "store_id": 4934,
            "brand_id": 183096,
            "quantity": null,
            "status": "sale",
            "rand_token": "",
            "views": 0,
            "created_at": "2022-04-13T14:20:37.000000Z",
            "updated_at": "2022-07-15T18:40:43.000000Z",
            "minimum_order_time": "0",
            "maximum_daily_order": null,
            "maximum_quantity_per_order": null,
            "allow_attachments": 0,
            "pinned": 0,
            "pinned_date": "2022-04-13 17:20:37",
            "sale_price": 313.7,
            "sale_end": null,
            "source": "24",
            "require_shipping": 1,
            "cost_price": 1,
            "digital_download_limit": null,
            "digital_download_expiry": null,
            "from_instagram": 0,
            "weight": 0.2,
            "with_tax": true,
            "hide_quantity": false,
            "min_amount_donating": 0,
            "max_amount_donating": 0,
            "subtitle": null,
            "active_advance": 0,
            "enable_upload_image": false,
            "searchable_at": null,
            "promotion_title": null,
            "extra_attributes": {
              "metadata": {
                "title": "",
                "description": ""
              }
            },
            "sort": 0,
            "enable_note": false,
            "thumbnail": "https://cdn.salla.sa/jKxK/diYOkX9FTWJFjTZc8w22eEzYd4fHyenQmAxE98eO.jpg",
            "thumbnail_alt_seo": "",
            "target_donating_enable": false,
            "unlimited_quantity": true,
            "managed_by_branches": 1,
            "notify_quantity": null,
            "show_in_app": false,
            "child": 0,
            "customized_sku_quantity": 1,
            "starting_price": null,
            "custom_url": null,
            "calories": null,
            "minimum_notify_quantity": 15,
            "subscribers_percentage": 100,
            "mpn": null,
            "gtin": null,
            "real_weight": 0.2,
            "weight_type": "kg",
            "show_in_mahly_app": 0,
            "mahly_category_id": null,
            "spam_status": 0,
            "show_in_web": true,
            "minimum_quantity_per_order": null
          }
        ]
      },
      "get": {
        "type": "product",
        "discount_type": "free-product",
        "quantity": 1,
        "products": []
      }
    },
    {
      "id": 1181257641,
      "name": "test",
      "message": "اشتري one piece واحصل على one piece خصم 10%  من المنتجات التالية",
      "expiry_date": null,
      "start_date": null,
      "offer_type": "buy_x_get_y",
      "status": "inactive",
      "show_price_after_discount": false,
      "show_discounts_table_message": false,
      "applied_to": "product",
      "buy": {
        "type": "product",
        "quantity": 1,
        "products": [
          {
            "id": 1091347324,
            "sku": "TESTgrP",
            "name": "test",
            "price": 12,
            "currency": "SAR",
            "description": "",
            "options": "",
            "type": "group_products",
            "store_id": 4934,
            "brand_id": 0,
            "quantity": null,
            "status": "sale",
            "rand_token": "",
            "views": 0,
            "created_at": "2023-03-05T13:19:58.000000Z",
            "updated_at": "2024-01-02T09:18:52.000000Z",
            "minimum_order_time": "0",
            "maximum_daily_order": null,
            "maximum_quantity_per_order": null,
            "allow_attachments": 0,
            "pinned": 0,
            "pinned_date": "2023-03-05 16:19:58",
            "sale_price": null,
            "sale_end": null,
            "source": null,
            "require_shipping": 1,
            "cost_price": 123,
            "digital_download_limit": null,
            "digital_download_expiry": null,
            "from_instagram": 0,
            "weight": 1,
            "with_tax": true,
            "hide_quantity": false,
            "min_amount_donating": 0,
            "max_amount_donating": 0,
            "subtitle": null,
            "active_advance": 0,
            "enable_upload_image": false,
            "searchable_at": null,
            "promotion_title": null,
            "extra_attributes": {
              "metadata": {
                "title": "",
                "description": ""
              }
            },
            "sort": 0,
            "enable_note": false,
            "thumbnail": "https://cdn.salla.sa/jKxK/bceSK4ZiNoQ3v9mEcExFaJIe721Q2xxSSMTnHFtV.png",
            "thumbnail_alt_seo": "",
            "target_donating_enable": false,
            "unlimited_quantity": true,
            "managed_by_branches": 1,
            "notify_quantity": null,
            "show_in_app": false,
            "child": 0,
            "customized_sku_quantity": 0,
            "starting_price": null,
            "custom_url": "",
            "calories": null,
            "minimum_notify_quantity": 15,
            "subscribers_percentage": 100,
            "mpn": "",
            "gtin": "",
            "real_weight": 1,
            "weight_type": "kg",
            "show_in_mahly_app": 0,
            "mahly_category_id": null,
            "spam_status": 1,
            "show_in_web": true,
            "minimum_quantity_per_order": null
          }
        ]
      },
      "get": {
        "type": "product",
        "discount_type": "percentage",
        "quantity": "1",
        "products": [
          {
            "id": 1189362533,
            "type": "product",
            "promotion": {
              "title": null,
              "sub_title": null
            },
            "quantity": 16,
            "status": "sale",
            "is_available": true,
            "sku": "",
            "name": "qoyod_test_options",
            "price": {
              "amount": 118,
              "currency": "SAR"
            },
            "sale_price": {
              "amount": 0,
              "currency": "SAR"
            },
            "currency": "SAR",
            "url": "https://salla.sa/teenzaytoon_est/RRQVBP",
            "thumbnail": "https://cdn.salla.sa/jKxK/5KMQMUfLpIlWQcnM2NIRnk15O6A7RERwobdNjvvC.png",
            "has_special_price": false,
            "regular_price": {
              "amount": 118,
              "currency": "SAR"
            },
            "calories": null,
            "mpn": null,
            "gtin": null,
            "description": "<p></p>",
            "favorite": null,
            "features": {
              "availability_notify": {
                "email": true,
                "sms": true,
                "mobile": false,
                "whatsapp": false
              },
              "show_rating": false
            },
            "starting_price": {
              "amount": 118,
              "currency": "SAR"
            }
          },
          {
            "id": 1751601075,
            "type": "product",
            "promotion": {
              "title": null,
              "sub_title": null
            },
            "quantity": 5,
            "status": "sale",
            "is_available": true,
            "sku": "IPHONE-X",
            "name": "new_test",
            "price": {
              "amount": 10,
              "currency": "SAR"
            },
            "sale_price": {
              "amount": 0,
              "currency": "SAR"
            },
            "currency": "SAR",
            "url": "https://salla.sa/teenzaytoon_est/RADWGQv",
            "thumbnail": "https://cdn.salla.sa/jKxK/VMsAeQB3eW4j4MQ40GVx0pIBj2YpnDkgsx6x90TJ.jpg",
            "has_special_price": false,
            "regular_price": {
              "amount": 10,
              "currency": "SAR"
            },
            "calories": null,
            "mpn": "",
            "gtin": "",
            "description": "<p>السلام عليكم ورحمة الله وبركاته</p><p><br></p><p>مساء الخير جميعاً</p>",
            "favorite": null,
            "features": {
              "availability_notify": {
                "email": true,
                "sms": true,
                "mobile": false,
                "whatsapp": false
              },
              "show_rating": false
            },
            "starting_price": null
          }
        ],
        "discount_amount": "10.00"
      }
    },
    {
      "id": 1171114975,
      "name": "alaa",
      "message": "اشتري 3 pieces واحصل على خصم 30 SAR من التصنيفات التالية",
      "expiry_date": null,
      "start_date": null,
      "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": 3,
        "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": "30.00"
      }
    },
    {
      "id": 397077208,
      "name": "مشعل 2",
      "message": "اشتري 3 pieces واحصل على خصم 40 SAR من التصنيفات التالية",
      "expiry_date": null,
      "start_date": null,
      "offer_type": "fixed_amount",
      "status": "inactive",
      "show_price_after_discount": false,
      "show_discounts_table_message": false,
      "applied_to": "category",
      "buy": {
        "min_amount": 0,
        "min_items": 3,
        "categories": [
          {
            "id": 1798176427,
            "name": "سلاسة",
            "avatar": "",
            "created_at": "2022-03-07T11:57:28.000000Z",
            "updated_at": "2024-02-13T10:19:32.000000Z",
            "deleted_at": null,
            "store_id": 4934,
            "parent_id": 0,
            "products_counts": 0,
            "show_in_menu": 1,
            "sort_order": 3,
            "status": "active",
            "has_hidden_products": 0,
            "show_in_app": 1,
            "extra_attributes": [],
            "custom_url": null,
            "mahly_category_id": null,
            "images": "https://cdn.salla.sa/jKxK/ZLA3dxb6uub2pEpxkQPFdA4faDUdRmTySYuDf2ZD.png"
          }
        ]
      },
      "get": {
        "discount_amount": "40.00"
      }
    },
    {
      "id": 261743038,
      "name": "عرض خاص 50٪",
      "message": "اشتري 100 pieces واحصل على one piece مجاناً من المنتجات التالية",
      "expiry_date": "2024-10-10 10:35:00",
      "start_date": "2024-01-19 14:20:00",
      "offer_type": "fixed_amount",
      "status": "inactive",
      "show_price_after_discount": false,
      "show_discounts_table_message": false,
      "applied_to": "order",
      "buy": {
        "min_amount": 0,
        "min_items": 100
      },
      "get": {
        "discount_amount": "0.00"
      }
    },
    {
      "id": 893331800,
      "name": "خصم ٢٨",
      "message": "اشتري one piece واحصل على خصم 28 SAR من المنتجات التالية",
      "expiry_date": null,
      "start_date": null,
      "offer_type": "fixed_amount",
      "status": "active",
      "show_price_after_discount": false,
      "show_discounts_table_message": false,
      "applied_to": "order",
      "buy": {
        "min_amount": 0,
        "min_items": 0
      },
      "get": {
        "discount_amount": "28.00"
      }
    }
  ],
  "pagination": {
    "count": 25,
    "total": 25,
    "perPage": 999999999999,
    "currentPage": 1,
    "totalPages": 1,
    "links": {}
  }
}
🟠401Unauthorized
Modified at 2025-01-26 10:43:04
Previous
Create Special Offer
Next
Special Offer Details