Flavours API Documentation
  1. Discounts
Flavours API Documentation
  • Readme
  • Developer Guide
  • Authorization
  • Includables
  • Pagination
  • Sorting
  • Retrieve Market Information
  • Retrieve Branch Information
  • Me
    • Overview
    • Detail
      GET
  • Branches
    • Overview
    • List
      GET
    • Detail
      GET
    • Create
      POST
    • Update
      POST
    • Delete
      DELETE
  • Orders
    • Overview
    • List
      GET
    • Detail
      GET
    • Create
      POST
    • Calculate
      POST
    • Checkout
      POST
    • Update
      POST
    • Sync
      POST
  • Customers
    • Overview
    • List
    • Detail
    • Create
    • Update
  • Products
    • Overview
    • List
    • Detail
    • Create
    • Update
    • Delete
  • Product Categories
    • Overview
    • List
    • Detail
  • Discounts
    • Overview
    • List
      GET
    • Detail
      GET
    • Verify
      POST
  • Payment Methods
    • Overview
    • List
    • Detail
  • Table
    • Overview
    • List
    • Detail
    • Create
    • Update
    • Delete
  • Printer
  • Webhook
    • Orders Webhooks
      • Webhook Events
      • Payload
    • Product Webhooks
      • Webhook Events
      • Payload
    • Loyalty Webhooks
      • Promotional Coupon
    • Customers Webhooks
      • Webhook Events
      • Payload
    • Error Webhook
      • Stay Alert to Connectivity Issues
    • Third-Party
      • Ballurh
        • Install Ballurh
      • Loyapro
        • Loyalty
          • Check Reward
          • Redeem Reward
      • Bonat
        • Check Reward
        • Redeem Reward
      • Fai
        • Register Entity
  1. Discounts

Verify

Developing
DEVELOPMENT
https://api.flavours.sa/dev/api/v2
DEVELOPMENT
https://api.flavours.sa/dev/api/v2
POST
https://api.flavours.sa/dev/api/v2
/discounts/verify

Validation#

FieldTypeRuleDescription
market_idstringrequiredId from Market model
branch_idstringrequiredId from Branch model
codestringrequiredCoupon code
products_idsarrayrequiredArray of id from Product model

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json
market_id
string 
required
branch_id
string 
required
code
string 
required
products_ids
array[string]
required
Example
{
  "market_id": "be7407f3-8d36-4a01-a20f-f306f044f496",
  "branch_id": "de1a6526-34de-4d1f-87e3-831e1af19853",
  "code": "CPN16986150",
  "products_ids": [
    "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
    "8447de4e-740e-4181-a377-6dfa3f4d3aa2"
  ]
}

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 POST 'https://api.flavours.sa/dev/api/v2/discounts/verify' \
--header 'Content-Type: application/json' \
--data-raw '{
    "market_id": "be7407f3-8d36-4a01-a20f-f306f044f496",
    "branch_id": "de1a6526-34de-4d1f-87e3-831e1af19853",
    "code": "CPN16986150",
    "products_ids": [
        "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
        "8447de4e-740e-4181-a377-6dfa3f4d3aa2"
    ]
}'

Responses

🟢200OK
application/json
Body
meta
object 
required
code
integer 
required
status
string 
required
message
string 
required
data
object 
required
id
string 
required
market_id
string 
required
branch_id
null 
required
type
string 
required
max
null 
required
code
string 
required
value
integer 
required
value_type
string 
required
expired_at
null 
required
created_at
integer 
required
updated_at
integer 
required
deleted_at
null 
required
is_fast_offer
boolean 
required
modifiers_count
string 
required
market
object 
required
branch
null 
required
modifiers
array [object {8}] 
required
require_modifiers
array[string]
required
obtain_modifiers
array [object {7}] 
required
Example
{
  "meta": {
    "code": 200,
    "status": "success",
    "message": "Verification Success"
  },
  "data": {
    "id": "05bc9506-8ba2-4463-a08d-7e440cea1a40",
    "market_id": "5d4196d7-355a-48ef-9c50-add58cc440f1",
    "branch_id": null,
    "type": "COUPON",
    "max": null,
    "code": "CPN16986150",
    "value": 15,
    "value_type": "PERCENT",
    "expired_at": null,
    "created_at": 1696422628923,
    "updated_at": 1696422628923,
    "deleted_at": null,
    "is_fast_offer": false,
    "modifiers_count": "2",
    "market": {
      "id": "5d4196d7-355a-48ef-9c50-add58cc440f1",
      "sector_id": 1,
      "name_en": "First Restaurant",
      "name_ar": "First Restaurant",
      "description_en": "Ut maxime commodi natus id tenetur ullam. Repudiandae aut quia est perspiciatis facilis dolores repellendus ea eum. Iusto occaecati libero ea voluptas dolore qui qui maxime quod. Eum ut vel possimus sunt doloribus saepe repellendus et.",
      "description_ar": "العظمى إستيلاء الأوروبية، حين عل. هو وبعد قتيل، العالمي ولم, يونيو مساعدة التاريخ، وصل تم. بـ سكان الجو اليابان تحت, يتم لأداء تكتيكاً قُدُماً ان. نفس موالية الجنوبي ما, أضف تم غضون أسابيع وقوعها،. وبدون ميناء الأمريكية فقد عل, قتيل، معارضة ضرب عن, دول وبعض لفرنسا تزامناً ثم. أي أدوات استبدال جعل. يكن لغات مشروط من.",
      "logo_img": null,
      "cover_img": null,
      "email": "[email protected]",
      "phone_prefix": "966",
      "phone": "579112767",
      "crn": null,
      "tax_number": "12345611",
      "created_by": null,
      "email_verified_at": null,
      "phone_verified_at": null,
      "created_at": 1680271006362,
      "updated_at": 1683019078189,
      "deleted_at": null
    },
    "branch": null,
    "modifiers": [
      {
        "id": 388,
        "modifierable_id": "05bc9506-8ba2-4463-a08d-7e440cea1a40",
        "modifierable_type": "DISCOUNT",
        "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
        "type": "OBTAIN",
        "qty": null,
        "product": {
          "id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
          "market_id": "5d4196d7-355a-48ef-9c50-add58cc440f1",
          "branch_id": "02510007-93b6-4121-93d7-c1bd79d00d0c",
          "product_category_id": 3,
          "name_en": "Twister Lunch Edited",
          "name_ar": "Twister Lunch",
          "description_en": "Tempore recusandae vel atque voluptatibus ea et nihil. Veniam eveniet laudantium cupiditate ratione non. Asperiores rem maiores neque inventore possimus itaque eum rerum. Delectus accusantium sit facilis. Ea voluptatibus natus quas eius commodi enim enim.",
          "description_ar": "Tempore recusandae vel atque voluptatibus ea et nihil. Veniam eveniet laudantium cupiditate ratione non. Asperiores rem maiores neque inventore possimus itaque eum rerum. Delectus accusantium sit facilis. Ea voluptatibus natus quas eius commodi enim enim.",
          "preparation_time": 20,
          "stock": 819,
          "order": 1,
          "images": [
            "https://cdn-flavours.fra1.digitaloceanspaces.com/img/uploads/products/1680366096-0.jpg"
          ],
          "is_active": true,
          "created_at": 1680271006458,
          "updated_at": 1684246940577,
          "deleted_at": null,
          "rating_amount": 0,
          "rating_avg": "0.00",
          "sold_amount": 31,
          "sold_revenue": 39.09,
          "qoyod_id": null,
          "option_modifiers": [
            {
              "id": 5567,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Small",
              "name_ar": "Small",
              "type": "OPTION",
              "calorie": 300,
              "price": 5.5,
              "tax": 0.83,
              "total": 6.33,
              "cost": 4.5,
              "profit": 1,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": "1.00",
              "weight_unit": "Kg"
            },
            {
              "id": 5568,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Medium",
              "name_ar": "Medium",
              "type": "OPTION_VARIABLE",
              "calorie": 350,
              "price": 8,
              "tax": 1.2,
              "total": 9.2,
              "cost": 5.5,
              "profit": 0.5,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5569,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Large",
              "name_ar": "Large",
              "type": "OPTION",
              "calorie": 400,
              "price": 7.5,
              "tax": 1.13,
              "total": 8.63,
              "cost": 6.5,
              "profit": 1,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5570,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Small",
              "name_ar": "Small",
              "type": "OPTION",
              "calorie": 300,
              "price": 5.5,
              "tax": 0.83,
              "total": 6.33,
              "cost": 4.5,
              "profit": 1,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5571,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Medium",
              "name_ar": "Medium",
              "type": "OPTION",
              "calorie": 350,
              "price": 6.5,
              "tax": 0.98,
              "total": 7.48,
              "cost": 5.5,
              "profit": 1,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5572,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Large",
              "name_ar": "Large",
              "type": "OPTION",
              "calorie": 400,
              "price": 7.5,
              "tax": 1.13,
              "total": 8.63,
              "cost": 6.5,
              "profit": 1,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5573,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Small Small",
              "name_ar": "Small",
              "type": "OPTION",
              "calorie": 300,
              "price": 5.5,
              "tax": 0.83,
              "total": 6.33,
              "cost": 4.5,
              "profit": 1,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5574,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Medium Medium",
              "name_ar": "Medium",
              "type": "OPTION",
              "calorie": 350,
              "price": 6.5,
              "tax": 0.98,
              "total": 7.48,
              "cost": 5.5,
              "profit": 1,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5575,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Large Large",
              "name_ar": "Large",
              "type": "OPTION",
              "calorie": 400,
              "price": 7.5,
              "tax": 1.13,
              "total": 8.63,
              "cost": 6.5,
              "profit": 1,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5576,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Small Small",
              "name_ar": "Small",
              "type": "OPTION",
              "calorie": 300,
              "price": 5.5,
              "tax": 0.83,
              "total": 6.33,
              "cost": 4.5,
              "profit": 1,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5577,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Medium Medium",
              "name_ar": "Medium",
              "type": "OPTION",
              "calorie": 350,
              "price": 6.5,
              "tax": 0.98,
              "total": 7.48,
              "cost": 5.5,
              "profit": 1,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5578,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Large Large",
              "name_ar": "Large",
              "type": "OPTION",
              "calorie": 400,
              "price": 7.5,
              "tax": 1.13,
              "total": 8.63,
              "cost": 6.5,
              "profit": 1,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5579,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Small Small",
              "name_ar": "Small",
              "type": "OPTION",
              "calorie": 300,
              "price": 5.5,
              "tax": 0.83,
              "total": 6.33,
              "cost": 4.5,
              "profit": 1,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5580,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Medium Medium",
              "name_ar": "Medium",
              "type": "OPTION",
              "calorie": 350,
              "price": 6.5,
              "tax": 0.98,
              "total": 7.48,
              "cost": 5.5,
              "profit": 1,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5581,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Large Large",
              "name_ar": "Large",
              "type": "OPTION_VARIABLE",
              "calorie": 400,
              "price": 8.7,
              "tax": 1.3,
              "total": 10,
              "cost": 6.5,
              "profit": 2.2,
              "is_tax_included": true,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5582,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Small Small",
              "name_ar": "Small",
              "type": "OPTION",
              "calorie": 300,
              "price": 5.5,
              "tax": 0.83,
              "total": 6.33,
              "cost": 4.5,
              "profit": 1,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5583,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Medium Medium",
              "name_ar": "Medium",
              "type": "OPTION",
              "calorie": 350,
              "price": 6.5,
              "tax": 0.98,
              "total": 7.48,
              "cost": 5.5,
              "profit": 1,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5584,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Large Large",
              "name_ar": "Large",
              "type": "OPTION_VARIABLE",
              "calorie": 400,
              "price": 8.7,
              "tax": 1.3,
              "total": 10,
              "cost": 6.5,
              "profit": 2.2,
              "is_tax_included": true,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5585,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Small Small",
              "name_ar": "Small",
              "type": "OPTION",
              "calorie": 300,
              "price": 4.35,
              "tax": 0.65,
              "total": 5,
              "cost": 4.5,
              "profit": 0,
              "is_tax_included": true,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": "1.00",
              "weight_unit": "Kg"
            },
            {
              "id": 5586,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Medium Medium",
              "name_ar": "Medium",
              "type": "OPTION",
              "calorie": 350,
              "price": 6.5,
              "tax": 0.98,
              "total": 7.48,
              "cost": 5.5,
              "profit": 1,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5587,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Large Large",
              "name_ar": "Large",
              "type": "OPTION_VARIABLE",
              "calorie": 400,
              "price": 8.7,
              "tax": 1.3,
              "total": 10,
              "cost": 6.5,
              "profit": 2.2,
              "is_tax_included": true,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5588,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Small Small",
              "name_ar": "Small",
              "type": "OPTION",
              "calorie": 300,
              "price": 8.7,
              "tax": 1.3,
              "total": 10,
              "cost": 4.5,
              "profit": 4.2,
              "is_tax_included": true,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": "1.00",
              "weight_unit": "Kg"
            },
            {
              "id": 5589,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Medium Medium",
              "name_ar": "Medium",
              "type": "OPTION",
              "calorie": 350,
              "price": 6.5,
              "tax": 0.98,
              "total": 7.48,
              "cost": 5.5,
              "profit": 1,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5590,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Large Large",
              "name_ar": "Large",
              "type": "OPTION_VARIABLE",
              "calorie": 400,
              "price": 10.43,
              "tax": 1.57,
              "total": 12,
              "cost": 6.5,
              "profit": 3.93,
              "is_tax_included": true,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5591,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Small Small",
              "name_ar": "Small",
              "type": "OPTION",
              "calorie": 300,
              "price": 8.7,
              "tax": 1.3,
              "total": 10,
              "cost": 4.5,
              "profit": 4.2,
              "is_tax_included": true,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": "1.00",
              "weight_unit": "Kg"
            },
            {
              "id": 5592,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Medium Medium",
              "name_ar": "Medium",
              "type": "OPTION",
              "calorie": 350,
              "price": 6.5,
              "tax": 0.98,
              "total": 7.48,
              "cost": 5.5,
              "profit": 1,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5593,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Large Large",
              "name_ar": "Large",
              "type": "OPTION_VARIABLE",
              "calorie": 400,
              "price": 10.43,
              "tax": 1.57,
              "total": 12,
              "cost": 6.5,
              "profit": 3.93,
              "is_tax_included": true,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5594,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Variable Option",
              "name_ar": "Variable Option",
              "type": "OPTION_VARIABLE",
              "calorie": null,
              "price": 17.39,
              "tax": 2.61,
              "total": 20,
              "cost": null,
              "profit": null,
              "is_tax_included": true,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5595,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Small Small",
              "name_ar": "Small",
              "type": "OPTION",
              "calorie": 300,
              "price": 8.7,
              "tax": 1.3,
              "total": 10,
              "cost": 4.5,
              "profit": 4.2,
              "is_tax_included": true,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": "1.00",
              "weight_unit": "Kg"
            },
            {
              "id": 5596,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Medium Medium",
              "name_ar": "Medium",
              "type": "OPTION",
              "calorie": 350,
              "price": 6.5,
              "tax": 0.98,
              "total": 7.48,
              "cost": 5.5,
              "profit": 1,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5597,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Large Large",
              "name_ar": "Large",
              "type": "OPTION_VARIABLE",
              "calorie": 400,
              "price": 10.43,
              "tax": 1.57,
              "total": 12,
              "cost": 6.5,
              "profit": 3.93,
              "is_tax_included": true,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5598,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Variable Option",
              "name_ar": "Variable Option",
              "type": "OPTION_VARIABLE",
              "calorie": null,
              "price": 17.39,
              "tax": 2.61,
              "total": 20,
              "cost": null,
              "profit": null,
              "is_tax_included": true,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            }
          ],
          "additional_modifiers": [
            {
              "id": 5599,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Extra Cheese",
              "name_ar": "Extra Cheese",
              "type": "ADDITIONAL",
              "calorie": 100,
              "price": 3,
              "tax": 0.45,
              "total": 3.45,
              "cost": 2.5,
              "profit": 0.5,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5600,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Extra Cheese",
              "name_ar": "Extra Cheese",
              "type": "ADDITIONAL",
              "calorie": 100,
              "price": 3,
              "tax": 0.45,
              "total": 3.45,
              "cost": 2.5,
              "profit": 0.5,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5601,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Extra Cheese",
              "name_ar": "Extra Cheese",
              "type": "ADDITIONAL",
              "calorie": 100,
              "price": 3,
              "tax": 0.45,
              "total": 3.45,
              "cost": 2.5,
              "profit": 0.5,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5602,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Extra Cheese Extra Cheese Extra Cheese Extra Cheese",
              "name_ar": "Extra Cheese",
              "type": "ADDITIONAL",
              "calorie": 100,
              "price": 3,
              "tax": 0.45,
              "total": 3.45,
              "cost": 2.5,
              "profit": 0.5,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5603,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Extra Cheese Extra Cheese Extra Cheese Extra Cheese",
              "name_ar": "Extra Cheese",
              "type": "ADDITIONAL",
              "calorie": 100,
              "price": 3,
              "tax": 0.45,
              "total": 3.45,
              "cost": 2.5,
              "profit": 0.5,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5604,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Extra Cheese",
              "name_ar": "Extra Cheese",
              "type": "ADDITIONAL",
              "calorie": 100,
              "price": 3,
              "tax": 0.45,
              "total": 3.45,
              "cost": 2.5,
              "profit": 0.5,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5605,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Extra extra",
              "name_ar": "Extra extra",
              "type": "ADDITIONAL_VARIABLE",
              "calorie": null,
              "price": 3.48,
              "tax": 0.52,
              "total": 4,
              "cost": null,
              "profit": null,
              "is_tax_included": true,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5606,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Extra Cheese",
              "name_ar": "Extra Cheese",
              "type": "ADDITIONAL",
              "calorie": 100,
              "price": 3,
              "tax": 0.45,
              "total": 3.45,
              "cost": 2.5,
              "profit": 0.5,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5607,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Extra extra",
              "name_ar": "Extra extra",
              "type": "ADDITIONAL_VARIABLE",
              "calorie": null,
              "price": 3.48,
              "tax": 0.52,
              "total": 4,
              "cost": null,
              "profit": null,
              "is_tax_included": true,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5608,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Extra Cheese",
              "name_ar": "Extra Cheese",
              "type": "ADDITIONAL",
              "calorie": 100,
              "price": 3,
              "tax": 0.45,
              "total": 3.45,
              "cost": 2.5,
              "profit": 0.5,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5609,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Extra extra",
              "name_ar": "Extra extra",
              "type": "ADDITIONAL_VARIABLE",
              "calorie": null,
              "price": 3.48,
              "tax": 0.52,
              "total": 4,
              "cost": null,
              "profit": null,
              "is_tax_included": true,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5610,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Extra Cheese",
              "name_ar": "Extra Cheese",
              "type": "ADDITIONAL",
              "calorie": 100,
              "price": 3,
              "tax": 0.45,
              "total": 3.45,
              "cost": 2.5,
              "profit": 0.5,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5611,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Extra extra",
              "name_ar": "Extra extra",
              "type": "ADDITIONAL_VARIABLE",
              "calorie": null,
              "price": 3.48,
              "tax": 0.52,
              "total": 4,
              "cost": null,
              "profit": null,
              "is_tax_included": true,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5612,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Additional Weight",
              "name_ar": "Additional Weight",
              "type": "ADDITIONAL",
              "calorie": null,
              "price": 8.7,
              "tax": 1.3,
              "total": 10,
              "cost": null,
              "profit": null,
              "is_tax_included": true,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": "1.00",
              "weight_unit": "Kg"
            },
            {
              "id": 5613,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Extra Cheese",
              "name_ar": "Extra Cheese",
              "type": "ADDITIONAL",
              "calorie": 100,
              "price": 3,
              "tax": 0.45,
              "total": 3.45,
              "cost": 2.5,
              "profit": 0.5,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5614,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Extra extra",
              "name_ar": "Extra extra",
              "type": "ADDITIONAL_VARIABLE",
              "calorie": null,
              "price": 3.48,
              "tax": 0.52,
              "total": 4,
              "cost": null,
              "profit": null,
              "is_tax_included": true,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5615,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Additional Weight",
              "name_ar": "Additional Weight",
              "type": "ADDITIONAL",
              "calorie": null,
              "price": 10,
              "tax": 1.5,
              "total": 11.5,
              "cost": null,
              "profit": null,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": "1.00",
              "weight_unit": "Kg"
            }
          ]
        },
        "alternatives": []
      },
      {
        "id": 389,
        "modifierable_id": "05bc9506-8ba2-4463-a08d-7e440cea1a40",
        "modifierable_type": "DISCOUNT",
        "product_id": "8447de4e-740e-4181-a377-6dfa3f4d3aa2",
        "type": "OBTAIN",
        "qty": null,
        "product": {
          "id": "8447de4e-740e-4181-a377-6dfa3f4d3aa2",
          "market_id": "5d4196d7-355a-48ef-9c50-add58cc440f1",
          "branch_id": "02510007-93b6-4121-93d7-c1bd79d00d0c",
          "product_category_id": 2,
          "name_en": "Burger Deluxe",
          "name_ar": "برجر ديلوكس",
          "description_en": "Tempore recusandae vel atque voluptatibus ea et nihil. Veniam eveniet laudantium cupiditate ratione non. Asperiores rem maiores neque inventore possimus itaque eum rerum. Delectus accusantium sit facilis. Ea voluptatibus natus quas eius commodi enim enim.",
          "description_ar": "Tempore recusandae vel atque voluptatibus ea et nihil. Veniam eveniet laudantium cupiditate ratione non. Asperiores rem maiores neque inventore possimus itaque eum rerum. Delectus accusantium sit facilis. Ea voluptatibus natus quas eius commodi enim enim.",
          "preparation_time": 15,
          "stock": 765,
          "order": 2,
          "images": [
            "https://cdn-flavours.fra1.digitaloceanspaces.com/img/uploads/products/1680365973-0.jpg"
          ],
          "is_active": true,
          "created_at": 1680271006454,
          "updated_at": 1684589809294,
          "deleted_at": null,
          "rating_amount": 0,
          "rating_avg": "0.00",
          "sold_amount": 64,
          "sold_revenue": 64.5,
          "qoyod_id": null,
          "option_modifiers": [
            {
              "id": 5626,
              "product_id": "8447de4e-740e-4181-a377-6dfa3f4d3aa2",
              "name_en": "Small",
              "name_ar": "صغير",
              "type": "OPTION",
              "calorie": 300,
              "price": 5.5,
              "tax": 0.83,
              "total": 6.33,
              "cost": 4.5,
              "profit": 1,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5627,
              "product_id": "8447de4e-740e-4181-a377-6dfa3f4d3aa2",
              "name_en": "Medium",
              "name_ar": "واسطة",
              "type": "OPTION",
              "calorie": 350,
              "price": 6.5,
              "tax": 0.98,
              "total": 7.48,
              "cost": 5.5,
              "profit": 1,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5628,
              "product_id": "8447de4e-740e-4181-a377-6dfa3f4d3aa2",
              "name_en": "Large",
              "name_ar": "كبير",
              "type": "OPTION",
              "calorie": 400,
              "price": 7.5,
              "tax": 1.13,
              "total": 8.63,
              "cost": 6.5,
              "profit": 1,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            }
          ],
          "additional_modifiers": [
            {
              "id": 5629,
              "product_id": "8447de4e-740e-4181-a377-6dfa3f4d3aa2",
              "name_en": "Extra Cheese",
              "name_ar": "الجبن إضافية",
              "type": "ADDITIONAL",
              "calorie": 100,
              "price": 3,
              "tax": 0.45,
              "total": 3.45,
              "cost": 2.5,
              "profit": 0.5,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5630,
              "product_id": "8447de4e-740e-4181-a377-6dfa3f4d3aa2",
              "name_en": "Extra Meat",
              "name_ar": "زيادة لحم",
              "type": "ADDITIONAL",
              "calorie": 50,
              "price": 3,
              "tax": 0.45,
              "total": 3.45,
              "cost": 3,
              "profit": 0,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            }
          ]
        },
        "alternatives": []
      }
    ],
    "require_modifiers": [],
    "obtain_modifiers": [
      {
        "id": 388,
        "modifierable_id": "05bc9506-8ba2-4463-a08d-7e440cea1a40",
        "modifierable_type": "DISCOUNT",
        "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
        "type": "OBTAIN",
        "qty": null,
        "product": {
          "id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
          "market_id": "5d4196d7-355a-48ef-9c50-add58cc440f1",
          "branch_id": "02510007-93b6-4121-93d7-c1bd79d00d0c",
          "product_category_id": 3,
          "name_en": "Twister Lunch Edited",
          "name_ar": "Twister Lunch",
          "description_en": "Tempore recusandae vel atque voluptatibus ea et nihil. Veniam eveniet laudantium cupiditate ratione non. Asperiores rem maiores neque inventore possimus itaque eum rerum. Delectus accusantium sit facilis. Ea voluptatibus natus quas eius commodi enim enim.",
          "description_ar": "Tempore recusandae vel atque voluptatibus ea et nihil. Veniam eveniet laudantium cupiditate ratione non. Asperiores rem maiores neque inventore possimus itaque eum rerum. Delectus accusantium sit facilis. Ea voluptatibus natus quas eius commodi enim enim.",
          "preparation_time": 20,
          "stock": 819,
          "order": 1,
          "images": [
            "https://cdn-flavours.fra1.digitaloceanspaces.com/img/uploads/products/1680366096-0.jpg"
          ],
          "is_active": true,
          "created_at": 1680271006458,
          "updated_at": 1684246940577,
          "deleted_at": null,
          "rating_amount": 0,
          "rating_avg": "0.00",
          "sold_amount": 31,
          "sold_revenue": 39.09,
          "qoyod_id": null,
          "option_modifiers": [
            {
              "id": 5567,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Small",
              "name_ar": "Small",
              "type": "OPTION",
              "calorie": 300,
              "price": 5.5,
              "tax": 0.83,
              "total": 6.33,
              "cost": 4.5,
              "profit": 1,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": "1.00",
              "weight_unit": "Kg"
            },
            {
              "id": 5568,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Medium",
              "name_ar": "Medium",
              "type": "OPTION_VARIABLE",
              "calorie": 350,
              "price": 8,
              "tax": 1.2,
              "total": 9.2,
              "cost": 5.5,
              "profit": 0.5,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5569,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Large",
              "name_ar": "Large",
              "type": "OPTION",
              "calorie": 400,
              "price": 7.5,
              "tax": 1.13,
              "total": 8.63,
              "cost": 6.5,
              "profit": 1,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5570,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Small",
              "name_ar": "Small",
              "type": "OPTION",
              "calorie": 300,
              "price": 5.5,
              "tax": 0.83,
              "total": 6.33,
              "cost": 4.5,
              "profit": 1,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5571,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Medium",
              "name_ar": "Medium",
              "type": "OPTION",
              "calorie": 350,
              "price": 6.5,
              "tax": 0.98,
              "total": 7.48,
              "cost": 5.5,
              "profit": 1,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5572,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Large",
              "name_ar": "Large",
              "type": "OPTION",
              "calorie": 400,
              "price": 7.5,
              "tax": 1.13,
              "total": 8.63,
              "cost": 6.5,
              "profit": 1,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5573,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Small Small",
              "name_ar": "Small",
              "type": "OPTION",
              "calorie": 300,
              "price": 5.5,
              "tax": 0.83,
              "total": 6.33,
              "cost": 4.5,
              "profit": 1,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5574,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Medium Medium",
              "name_ar": "Medium",
              "type": "OPTION",
              "calorie": 350,
              "price": 6.5,
              "tax": 0.98,
              "total": 7.48,
              "cost": 5.5,
              "profit": 1,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5575,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Large Large",
              "name_ar": "Large",
              "type": "OPTION",
              "calorie": 400,
              "price": 7.5,
              "tax": 1.13,
              "total": 8.63,
              "cost": 6.5,
              "profit": 1,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5576,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Small Small",
              "name_ar": "Small",
              "type": "OPTION",
              "calorie": 300,
              "price": 5.5,
              "tax": 0.83,
              "total": 6.33,
              "cost": 4.5,
              "profit": 1,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5577,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Medium Medium",
              "name_ar": "Medium",
              "type": "OPTION",
              "calorie": 350,
              "price": 6.5,
              "tax": 0.98,
              "total": 7.48,
              "cost": 5.5,
              "profit": 1,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5578,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Large Large",
              "name_ar": "Large",
              "type": "OPTION",
              "calorie": 400,
              "price": 7.5,
              "tax": 1.13,
              "total": 8.63,
              "cost": 6.5,
              "profit": 1,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5579,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Small Small",
              "name_ar": "Small",
              "type": "OPTION",
              "calorie": 300,
              "price": 5.5,
              "tax": 0.83,
              "total": 6.33,
              "cost": 4.5,
              "profit": 1,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5580,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Medium Medium",
              "name_ar": "Medium",
              "type": "OPTION",
              "calorie": 350,
              "price": 6.5,
              "tax": 0.98,
              "total": 7.48,
              "cost": 5.5,
              "profit": 1,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5581,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Large Large",
              "name_ar": "Large",
              "type": "OPTION_VARIABLE",
              "calorie": 400,
              "price": 8.7,
              "tax": 1.3,
              "total": 10,
              "cost": 6.5,
              "profit": 2.2,
              "is_tax_included": true,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5582,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Small Small",
              "name_ar": "Small",
              "type": "OPTION",
              "calorie": 300,
              "price": 5.5,
              "tax": 0.83,
              "total": 6.33,
              "cost": 4.5,
              "profit": 1,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5583,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Medium Medium",
              "name_ar": "Medium",
              "type": "OPTION",
              "calorie": 350,
              "price": 6.5,
              "tax": 0.98,
              "total": 7.48,
              "cost": 5.5,
              "profit": 1,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5584,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Large Large",
              "name_ar": "Large",
              "type": "OPTION_VARIABLE",
              "calorie": 400,
              "price": 8.7,
              "tax": 1.3,
              "total": 10,
              "cost": 6.5,
              "profit": 2.2,
              "is_tax_included": true,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5585,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Small Small",
              "name_ar": "Small",
              "type": "OPTION",
              "calorie": 300,
              "price": 4.35,
              "tax": 0.65,
              "total": 5,
              "cost": 4.5,
              "profit": 0,
              "is_tax_included": true,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": "1.00",
              "weight_unit": "Kg"
            },
            {
              "id": 5586,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Medium Medium",
              "name_ar": "Medium",
              "type": "OPTION",
              "calorie": 350,
              "price": 6.5,
              "tax": 0.98,
              "total": 7.48,
              "cost": 5.5,
              "profit": 1,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5587,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Large Large",
              "name_ar": "Large",
              "type": "OPTION_VARIABLE",
              "calorie": 400,
              "price": 8.7,
              "tax": 1.3,
              "total": 10,
              "cost": 6.5,
              "profit": 2.2,
              "is_tax_included": true,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5588,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Small Small",
              "name_ar": "Small",
              "type": "OPTION",
              "calorie": 300,
              "price": 8.7,
              "tax": 1.3,
              "total": 10,
              "cost": 4.5,
              "profit": 4.2,
              "is_tax_included": true,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": "1.00",
              "weight_unit": "Kg"
            },
            {
              "id": 5589,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Medium Medium",
              "name_ar": "Medium",
              "type": "OPTION",
              "calorie": 350,
              "price": 6.5,
              "tax": 0.98,
              "total": 7.48,
              "cost": 5.5,
              "profit": 1,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5590,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Large Large",
              "name_ar": "Large",
              "type": "OPTION_VARIABLE",
              "calorie": 400,
              "price": 10.43,
              "tax": 1.57,
              "total": 12,
              "cost": 6.5,
              "profit": 3.93,
              "is_tax_included": true,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5591,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Small Small",
              "name_ar": "Small",
              "type": "OPTION",
              "calorie": 300,
              "price": 8.7,
              "tax": 1.3,
              "total": 10,
              "cost": 4.5,
              "profit": 4.2,
              "is_tax_included": true,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": "1.00",
              "weight_unit": "Kg"
            },
            {
              "id": 5592,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Medium Medium",
              "name_ar": "Medium",
              "type": "OPTION",
              "calorie": 350,
              "price": 6.5,
              "tax": 0.98,
              "total": 7.48,
              "cost": 5.5,
              "profit": 1,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5593,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Large Large",
              "name_ar": "Large",
              "type": "OPTION_VARIABLE",
              "calorie": 400,
              "price": 10.43,
              "tax": 1.57,
              "total": 12,
              "cost": 6.5,
              "profit": 3.93,
              "is_tax_included": true,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5594,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Variable Option",
              "name_ar": "Variable Option",
              "type": "OPTION_VARIABLE",
              "calorie": null,
              "price": 17.39,
              "tax": 2.61,
              "total": 20,
              "cost": null,
              "profit": null,
              "is_tax_included": true,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5595,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Small Small",
              "name_ar": "Small",
              "type": "OPTION",
              "calorie": 300,
              "price": 8.7,
              "tax": 1.3,
              "total": 10,
              "cost": 4.5,
              "profit": 4.2,
              "is_tax_included": true,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": "1.00",
              "weight_unit": "Kg"
            },
            {
              "id": 5596,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Medium Medium",
              "name_ar": "Medium",
              "type": "OPTION",
              "calorie": 350,
              "price": 6.5,
              "tax": 0.98,
              "total": 7.48,
              "cost": 5.5,
              "profit": 1,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5597,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Large Large",
              "name_ar": "Large",
              "type": "OPTION_VARIABLE",
              "calorie": 400,
              "price": 10.43,
              "tax": 1.57,
              "total": 12,
              "cost": 6.5,
              "profit": 3.93,
              "is_tax_included": true,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5598,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Variable Option",
              "name_ar": "Variable Option",
              "type": "OPTION_VARIABLE",
              "calorie": null,
              "price": 17.39,
              "tax": 2.61,
              "total": 20,
              "cost": null,
              "profit": null,
              "is_tax_included": true,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            }
          ],
          "additional_modifiers": [
            {
              "id": 5599,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Extra Cheese",
              "name_ar": "Extra Cheese",
              "type": "ADDITIONAL",
              "calorie": 100,
              "price": 3,
              "tax": 0.45,
              "total": 3.45,
              "cost": 2.5,
              "profit": 0.5,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5600,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Extra Cheese",
              "name_ar": "Extra Cheese",
              "type": "ADDITIONAL",
              "calorie": 100,
              "price": 3,
              "tax": 0.45,
              "total": 3.45,
              "cost": 2.5,
              "profit": 0.5,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5601,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Extra Cheese",
              "name_ar": "Extra Cheese",
              "type": "ADDITIONAL",
              "calorie": 100,
              "price": 3,
              "tax": 0.45,
              "total": 3.45,
              "cost": 2.5,
              "profit": 0.5,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5602,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Extra Cheese Extra Cheese Extra Cheese Extra Cheese",
              "name_ar": "Extra Cheese",
              "type": "ADDITIONAL",
              "calorie": 100,
              "price": 3,
              "tax": 0.45,
              "total": 3.45,
              "cost": 2.5,
              "profit": 0.5,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5603,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Extra Cheese Extra Cheese Extra Cheese Extra Cheese",
              "name_ar": "Extra Cheese",
              "type": "ADDITIONAL",
              "calorie": 100,
              "price": 3,
              "tax": 0.45,
              "total": 3.45,
              "cost": 2.5,
              "profit": 0.5,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5604,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Extra Cheese",
              "name_ar": "Extra Cheese",
              "type": "ADDITIONAL",
              "calorie": 100,
              "price": 3,
              "tax": 0.45,
              "total": 3.45,
              "cost": 2.5,
              "profit": 0.5,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5605,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Extra extra",
              "name_ar": "Extra extra",
              "type": "ADDITIONAL_VARIABLE",
              "calorie": null,
              "price": 3.48,
              "tax": 0.52,
              "total": 4,
              "cost": null,
              "profit": null,
              "is_tax_included": true,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5606,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Extra Cheese",
              "name_ar": "Extra Cheese",
              "type": "ADDITIONAL",
              "calorie": 100,
              "price": 3,
              "tax": 0.45,
              "total": 3.45,
              "cost": 2.5,
              "profit": 0.5,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5607,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Extra extra",
              "name_ar": "Extra extra",
              "type": "ADDITIONAL_VARIABLE",
              "calorie": null,
              "price": 3.48,
              "tax": 0.52,
              "total": 4,
              "cost": null,
              "profit": null,
              "is_tax_included": true,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5608,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Extra Cheese",
              "name_ar": "Extra Cheese",
              "type": "ADDITIONAL",
              "calorie": 100,
              "price": 3,
              "tax": 0.45,
              "total": 3.45,
              "cost": 2.5,
              "profit": 0.5,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5609,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Extra extra",
              "name_ar": "Extra extra",
              "type": "ADDITIONAL_VARIABLE",
              "calorie": null,
              "price": 3.48,
              "tax": 0.52,
              "total": 4,
              "cost": null,
              "profit": null,
              "is_tax_included": true,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5610,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Extra Cheese",
              "name_ar": "Extra Cheese",
              "type": "ADDITIONAL",
              "calorie": 100,
              "price": 3,
              "tax": 0.45,
              "total": 3.45,
              "cost": 2.5,
              "profit": 0.5,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5611,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Extra extra",
              "name_ar": "Extra extra",
              "type": "ADDITIONAL_VARIABLE",
              "calorie": null,
              "price": 3.48,
              "tax": 0.52,
              "total": 4,
              "cost": null,
              "profit": null,
              "is_tax_included": true,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5612,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Additional Weight",
              "name_ar": "Additional Weight",
              "type": "ADDITIONAL",
              "calorie": null,
              "price": 8.7,
              "tax": 1.3,
              "total": 10,
              "cost": null,
              "profit": null,
              "is_tax_included": true,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": "1.00",
              "weight_unit": "Kg"
            },
            {
              "id": 5613,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Extra Cheese",
              "name_ar": "Extra Cheese",
              "type": "ADDITIONAL",
              "calorie": 100,
              "price": 3,
              "tax": 0.45,
              "total": 3.45,
              "cost": 2.5,
              "profit": 0.5,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5614,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Extra extra",
              "name_ar": "Extra extra",
              "type": "ADDITIONAL_VARIABLE",
              "calorie": null,
              "price": 3.48,
              "tax": 0.52,
              "total": 4,
              "cost": null,
              "profit": null,
              "is_tax_included": true,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5615,
              "product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
              "name_en": "Additional Weight",
              "name_ar": "Additional Weight",
              "type": "ADDITIONAL",
              "calorie": null,
              "price": 10,
              "tax": 1.5,
              "total": 11.5,
              "cost": null,
              "profit": null,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": "1.00",
              "weight_unit": "Kg"
            }
          ]
        }
      },
      {
        "id": 389,
        "modifierable_id": "05bc9506-8ba2-4463-a08d-7e440cea1a40",
        "modifierable_type": "DISCOUNT",
        "product_id": "8447de4e-740e-4181-a377-6dfa3f4d3aa2",
        "type": "OBTAIN",
        "qty": null,
        "product": {
          "id": "8447de4e-740e-4181-a377-6dfa3f4d3aa2",
          "market_id": "5d4196d7-355a-48ef-9c50-add58cc440f1",
          "branch_id": "02510007-93b6-4121-93d7-c1bd79d00d0c",
          "product_category_id": 2,
          "name_en": "Burger Deluxe",
          "name_ar": "برجر ديلوكس",
          "description_en": "Tempore recusandae vel atque voluptatibus ea et nihil. Veniam eveniet laudantium cupiditate ratione non. Asperiores rem maiores neque inventore possimus itaque eum rerum. Delectus accusantium sit facilis. Ea voluptatibus natus quas eius commodi enim enim.",
          "description_ar": "Tempore recusandae vel atque voluptatibus ea et nihil. Veniam eveniet laudantium cupiditate ratione non. Asperiores rem maiores neque inventore possimus itaque eum rerum. Delectus accusantium sit facilis. Ea voluptatibus natus quas eius commodi enim enim.",
          "preparation_time": 15,
          "stock": 765,
          "order": 2,
          "images": [
            "https://cdn-flavours.fra1.digitaloceanspaces.com/img/uploads/products/1680365973-0.jpg"
          ],
          "is_active": true,
          "created_at": 1680271006454,
          "updated_at": 1684589809294,
          "deleted_at": null,
          "rating_amount": 0,
          "rating_avg": "0.00",
          "sold_amount": 64,
          "sold_revenue": 64.5,
          "qoyod_id": null,
          "option_modifiers": [
            {
              "id": 5626,
              "product_id": "8447de4e-740e-4181-a377-6dfa3f4d3aa2",
              "name_en": "Small",
              "name_ar": "صغير",
              "type": "OPTION",
              "calorie": 300,
              "price": 5.5,
              "tax": 0.83,
              "total": 6.33,
              "cost": 4.5,
              "profit": 1,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5627,
              "product_id": "8447de4e-740e-4181-a377-6dfa3f4d3aa2",
              "name_en": "Medium",
              "name_ar": "واسطة",
              "type": "OPTION",
              "calorie": 350,
              "price": 6.5,
              "tax": 0.98,
              "total": 7.48,
              "cost": 5.5,
              "profit": 1,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5628,
              "product_id": "8447de4e-740e-4181-a377-6dfa3f4d3aa2",
              "name_en": "Large",
              "name_ar": "كبير",
              "type": "OPTION",
              "calorie": 400,
              "price": 7.5,
              "tax": 1.13,
              "total": 8.63,
              "cost": 6.5,
              "profit": 1,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            }
          ],
          "additional_modifiers": [
            {
              "id": 5629,
              "product_id": "8447de4e-740e-4181-a377-6dfa3f4d3aa2",
              "name_en": "Extra Cheese",
              "name_ar": "الجبن إضافية",
              "type": "ADDITIONAL",
              "calorie": 100,
              "price": 3,
              "tax": 0.45,
              "total": 3.45,
              "cost": 2.5,
              "profit": 0.5,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            },
            {
              "id": 5630,
              "product_id": "8447de4e-740e-4181-a377-6dfa3f4d3aa2",
              "name_en": "Extra Meat",
              "name_ar": "زيادة لحم",
              "type": "ADDITIONAL",
              "calorie": 50,
              "price": 3,
              "tax": 0.45,
              "total": 3.45,
              "cost": 3,
              "profit": 0,
              "is_tax_included": false,
              "deleted_at": null,
              "barcode": null,
              "barcode_img": null,
              "weight_amount": null,
              "weight_unit": null
            }
          ]
        }
      }
    ]
  }
}
Previous
Detail
Next
Overview
Built with