List
GET
/ordersConstant
Use the constants below according to the field names and rules for each request
Constant | Value |
---|---|
source |
ADMIN_APP ADMIN_WEB LANDING_APP LANDING_WEB GRUBTECH |
type |
TAKE_AWAY DINING DRIVE_THROUGH DELIVERY |
status |
WAITING PROCESS COMPLETED CANCELED DELIVERY |
period_type |
LAST_DAY LAST_WEEK LAST_MONTH LAST_YEAR ALL_TIME CUSTOM |
Validation
Field | Type | Rule | Description |
---|---|---|---|
page |
integer |
nullable min:1 |
Read more on the Pagination page |
per_page |
integer |
nullable min:1 |
Read more on the Pagination page |
search |
string |
nullable |
|
sort |
string |
nullable |
Read more on the Sorting page |
includes |
array |
nullable |
Read more on the Includables page |
filter.market_id |
string |
nullable |
Id from Market model |
filter.branch_id |
string |
nullable |
Id from Branch model |
filter.product_categories_ids |
array |
nullable |
Array of id from ProductCategory model |
filter.sources |
array |
nullable |
Array of source |
filter.types |
array |
nullable |
Array of type |
filter.statuses |
array |
nullable |
Array of status |
filter.period_type |
string |
nullable |
Array of period_type |
filter.start_at |
integer |
nullable |
Milliseconds time |
filter.end_at |
integer |
nullable |
Milliseconds time |
filter.payment_method_key |
string |
nullable |
Key from PaymentMethod model |
filter.cashier_id |
string |
nullable |
Id from Cashier model |
filter.customer_id |
string |
nullable |
Id from Customer model |
The rules on the fields will change depending on conditions, including the following
Field | Rule | Condition |
---|---|---|
filter.market_id |
required |
User authentication role SUBSCRIBER |
filter.branch_id |
required |
User authentication role SUBSCRIBER & has branch_id |
filter.start_at |
required |
filter.period_type is CUSTOM |
filter.end_at |
required |
filter.period_type is CUSTOM |
filter.customer_id |
required |
User authentication role CUSTOMER |
Request
Query Params
page
integer
optional
Example:
1
per_page
integer
optional
Example:
20
search
string
optional
sort
string
optional
Example:
-created_at
includes[]
array[string]
optional
Example:
["products.product","statusLogs"]
filter[market_id]
string
optional
Example:
be7407f3-8d36-4a01-a20f-f306f044f496
filter[branch_id]
string
optional
filter[product_categories_ids]
array[string]
optional
filter[sources]
array[string]
optional
filter[types]
array[string]
optional
filter[statuses]
array[string]
optional
filter[number]
string
optional
Example:
1162
filter[created_at_before]
integer
optional
Example:
1698089349211
filter[created_at_after]
integer
optional
Example:
1698089349210
filter[payment_method_key]
string
optional
filter[cashier_id]
string
optional
filter[customer_id]
string
optional
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
meta
object
required
code
integer
required
status
string
required
message
string
required
data
object
required
current_page
integer
required
data
array [object {20}]
required
first_page_url
string
required
from
integer
required
last_page
integer
required
last_page_url
string
required
links
array [object {3}]
required
next_page_url
string
required
path
string
required
per_page
integer
required
prev_page_url
null
required
to
integer
required
total
integer
required
Example
{
"meta": {
"code": 200,
"status": "success",
"message": "Data Loaded Successfully"
},
"data": {
"current_page": 1,
"data": [
{
"id": "33ff62f4-940e-4b49-9a55-c3fbdbc3a3b4",
"market_id": "5d4196d7-355a-48ef-9c50-add58cc440f1",
"branch_id": "31a60e0c-b602-4942-a33b-06553324fe8c",
"number": "0011",
"source": "ADMIN_APP",
"type": "TAKE_AWAY",
"status": "PROCESS",
"table_code": null,
"notes": null,
"customer_id": null,
"cashier_id": "0756d11b-4a6e-4739-adf7-899e58de0885",
"created_at": 1705985220694,
"updated_at": 1705985220694,
"deleted_at": null,
"is_product_changed": false,
"table_id": null,
"qr_img": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAIAAACx0UUtAAAABnRSTlMA/wD/AP83WBt9AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAFaklEQVR4nO3d244jqRZF0ZNH/f+/XP0ealFNA8F0eYxXZ1ycWkLeAjY/v379+h+E/f/2C8BvyCh1MkqdjFIno9TJKHUySp2MUiej1MkodTJKnYxSJ6PUySh1MkqdjFIno9TJKHUySt1fKxf//Pzseo+xx6arx3Nf+/Rh/PXHd95o6kGvvdX4uVOMo9TJKHUySp2MUrdUMz1sbCex8Yf/VFmwUiSt3PnWgzZe+7CxGjOOUiej1MkodTJK3c6a6WFjsXLuzlPTT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s17uLUL57VmEw/Nr3DrMCfjKHUySp2MUiej1O1cmzf2Wr/wc4c5nTvLauMfb/wKK3NUGxlHqZNR6mSUOhmlbufavHPG+5nGNp4eu6J5etPG1hvn/s/GUepklDoZpU5GqfuMM22n/nhja4ZzO7TGNnbT2PhW42utzeN7ySh1MkqdjFK3tJ/pXA+6Wzt4bs3ZnJs5u7Ul68E8E38yGaVORqmTUere28+00coOno17dM5Nhk1Z2cC0sZvGueLMOEqdjFIno9TJKHUfWTM9rOyzeXjtbKeVt7rV6nD8qR4QfC8ZpU5GqZNR6g7WTJ/YXuHhtUbdU8/dODnUXMj3YBylTkapk1HqZJS6nTVT8xf3Q+Qc3o3n0k691fjOK7vK9M3je8kodTJKnYxS996ZtvDfGEepk1HqZJQ6GaVORqmTUepklDoZpU5GqZNR6mSUOhmlTkapk1HqZJQ6GaVORqmTUepklLq/AXc8lMzmm3gfAAAAAElFTkSuQmCC",
"products": [
{
"id": 78064,
"market_id": "5d4196d7-355a-48ef-9c50-add58cc440f1",
"branch_id": "31a60e0c-b602-4942-a33b-06553324fe8c",
"order_id": "33ff62f4-940e-4b49-9a55-c3fbdbc3a3b4",
"product_category_id": 5,
"product_id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
"qty": 1,
"price": 17.39,
"discount": 10,
"tax": 1.74,
"subtotal": 17.39,
"total": 9.13,
"cost": 4.5,
"profit": 15.5,
"is_done": false,
"created_at": 1705985220725,
"updated_at": 1705985220725,
"status": "RELATED",
"product": {
"id": "cfcdf305-4cfe-495c-9a33-c8dfc7a6b8c5",
"market_id": "5d4196d7-355a-48ef-9c50-add58cc440f1",
"branch_id": null,
"product_category_id": 5,
"name_en": "Twister Lunch Edited",
"name_ar": "غداء تويستر",
"description_en": null,
"description_ar": null,
"preparation_time": 15,
"stock": 448,
"order": 2,
"images": [
"https://flavours-files.s3.me-south-1.amazonaws.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": 272,
"sold_revenue": 6504.02,
"qoyod_id": null
}
}
],
"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": "https://flavours-files.s3.me-south-1.amazonaws.com/img/uploads/markets/covers/1688386859.png",
"email": "[email protected]",
"phone_prefix": "966",
"phone": "551564439",
"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,
"is_active": true
},
"transaction": {
"id": 69770,
"market_id": "5d4196d7-355a-48ef-9c50-add58cc440f1",
"branch_id": "31a60e0c-b602-4942-a33b-06553324fe8c",
"order_id": "33ff62f4-940e-4b49-9a55-c3fbdbc3a3b4",
"discount": 10,
"tax": 1.74,
"subtotal": 17.39,
"total": 9.13,
"cost": 4.5,
"profit": 15.5,
"created_at": 1705985220715,
"updated_at": 1705985220715,
"status": "PAID",
"discount_id": "d6adc9eb-ac55-4744-9d15-232d17b3049f",
"payment_fees": 0
}
},
{
"id": "7f09801f-4195-4c72-a458-3864eedfa5a1",
"market_id": "5d4196d7-355a-48ef-9c50-add58cc440f1",
"branch_id": "31a60e0c-b602-4942-a33b-06553324fe8c",
"number": "0010",
"source": "ADMIN_APP",
"type": "TAKE_AWAY",
"status": "PROCESS",
"table_code": null,
"notes": null,
"customer_id": null,
"cashier_id": "0756d11b-4a6e-4739-adf7-899e58de0885",
"created_at": 1705985024728,
"updated_at": 1705985024728,
"deleted_at": null,
"is_product_changed": false,
"table_id": null,
"qr_img": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAIAAACx0UUtAAAABnRSTlMA/wD/AP83WBt9AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAFfklEQVR4nO3dwY7jOBJF0cnB/P8vV296JTTYEBikbk2ds01LltMPhAMkgz+/fv36D4T99+sHgH8ho9TJKHUySp2MUiej1MkodTJKnYxSJ6PUySh1MkqdjFIno9TJKHUySp2MUiej1Mkodf/bufjn52fqOdbWm64ejzH44rX1xz9357VX7xv5BteMo9TJKHUySp2MUrdVMz0MtpNY/5bfKZIGH+OrW+280fp/de0bfMU4Sp2MUiej1MkodZM108OrX81fzcqsb7UzZfWqdnl1q2szSde+wTXjKHUySp2MUiej1B2smc55VZ2sr127NqH16lbXpqwijKPUySh1MkqdjFL3W9ZM5/YkDU4s7RRY1x7jt2AcpU5GqZNR6mSUuoM107Vf69cWtp279tqWrFcfIVJvGUepk1HqZJQ6GaVusmb6as3Y4N6gwfKreee15qo/4yh1MkqdjFIno9Rt1UyReYivVqNdK87WBsuvJuModTJKnYxSJ6PUHTyfqbndZ7BKGJwNenXtw05f9sHibP3iHcZR6mSUOhmlTkapO3g+U2Qnzbli5ZzmUbPXiqQH4yh1MkqdjFIno9T9fFWdXNtXtHauy8Pgf2P94odz7STOPdWacZQ6GaVORqmTUeom1+adm2eK9M++tkXp3IlT19bXWZvHH0RGqZNR6mSUuoPzTGuD8y6vrh2888PgBM/gFN2gr+YCjaPUySh1MkqdjFJXmWfaqQO+Otzo8ddz+7d2ujysDXbxOFerGUepk1HqZJQ6GaXu4PlM1yZLBjcDXWvUPdi/7p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": [
{
"id": 78053,
"market_id": "5d4196d7-355a-48ef-9c50-add58cc440f1",
"branch_id": "31a60e0c-b602-4942-a33b-06553324fe8c",
"order_id": "7f09801f-4195-4c72-a458-3864eedfa5a1",
"product_category_id": 2,
"product_id": "8447de4e-740e-4181-a377-6dfa3f4d3aa2",
"qty": 1,
"price": 10.91,
"discount": 0,
"tax": 1.09,
"subtotal": 10.91,
"total": 12,
"cost": 9,
"profit": 2,
"is_done": false,
"created_at": 1705985024778,
"updated_at": 1705985024778,
"status": "RELATED",
"product": {
"id": "8447de4e-740e-4181-a377-6dfa3f4d3aa2",
"market_id": "5d4196d7-355a-48ef-9c50-add58cc440f1",
"branch_id": null,
"product_category_id": 2,
"name_en": "Beef Burger Updated",
"name_ar": "برجر ديلوكس",
"description_en": null,
"description_ar": null,
"preparation_time": 30,
"stock": null,
"order": 1,
"images": [
"https://flavours-files.s3.me-south-1.amazonaws.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": 501,
"sold_revenue": 332.91,
"qoyod_id": null
}
},
{
"id": 78055,
"market_id": "5d4196d7-355a-48ef-9c50-add58cc440f1",
"branch_id": "31a60e0c-b602-4942-a33b-06553324fe8c",
"order_id": "7f09801f-4195-4c72-a458-3864eedfa5a1",
"product_category_id": 2,
"product_id": "76172da2-106e-4385-8096-8565999e6689",
"qty": 2,
"price": 14.94,
"discount": 0,
"tax": 2.99,
"subtotal": 29.87,
"total": 32.86,
"cost": 0,
"profit": 0,
"is_done": false,
"created_at": 1705985024778,
"updated_at": 1705985024778,
"status": "RELATED",
"product": {
"id": "76172da2-106e-4385-8096-8565999e6689",
"market_id": "5d4196d7-355a-48ef-9c50-add58cc440f1",
"branch_id": null,
"product_category_id": 2,
"name_en": "Chiken Noodle",
"name_ar": "نودلز الدجاج",
"description_en": null,
"description_ar": null,
"preparation_time": 10,
"stock": null,
"order": 5,
"images": [
"https://flavours-files.s3.me-south-1.amazonaws.com/img/uploads/products/1685619673-0.jpg"
],
"is_active": true,
"created_at": 1685619673112,
"updated_at": 1685619673112,
"deleted_at": null,
"rating_amount": 0,
"rating_avg": "0.00",
"sold_amount": 222,
"sold_revenue": 1707.09,
"qoyod_id": null
}
}
],
"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": "https://flavours-files.s3.me-south-1.amazonaws.com/img/uploads/markets/covers/1688386859.png",
"email": "[email protected]",
"phone_prefix": "966",
"phone": "551564439",
"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,
"is_active": true
},
"transaction": {
"id": 69764,
"market_id": "5d4196d7-355a-48ef-9c50-add58cc440f1",
"branch_id": "31a60e0c-b602-4942-a33b-06553324fe8c",
"order_id": "7f09801f-4195-4c72-a458-3864eedfa5a1",
"discount": 0,
"tax": 4.08,
"subtotal": 40.78,
"total": 44.86,
"cost": 9,
"profit": 2,
"created_at": 1705985024759,
"updated_at": 1705985024759,
"status": "PAID",
"discount_id": null,
"payment_fees": 0
}
},
{
"id": "60393b40-fafd-4d77-9123-8392581c5045",
"market_id": "5d4196d7-355a-48ef-9c50-add58cc440f1",
"branch_id": "52d45774-ca95-4f87-a233-5686514d5afa",
"number": "0024",
"source": "ADMIN_WEB",
"type": "TAKE_AWAY",
"status": "COMPLETED",
"table_code": null,
"notes": null,
"customer_id": null,
"cashier_id": "0756d11b-4a6e-4739-adf7-899e58de0885",
"created_at": 1705975167401,
"updated_at": 1705975167401,
"deleted_at": null,
"is_product_changed": false,
"table_id": null,
"qr_img": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAIAAACx0UUtAAAABnRSTlMA/wD/AP83WBt9AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAFgElEQVR4nO3dzY4cKRCF0emR3/+VPRuvasEIEWR+7T5n68ofd12hCgHB1+/fv/+BsH/ffgH4HzJKnYxSJ6PUySh1MkqdjFIno9TJKHUySp2MUiej1MkodTJKnYxSJ6PUySh1MkqdjFL36+Tir6+vqfdYW2+6+niNrQ8PPnfr2rWTP+zWcyPf4JpxlDoZpU5GqZNR6o5qpg+D7STWv+UHi6TBAmvtserk5P/72De4xThKnYxSJ6PUySh1kzXTh8EZncEHbd3qZH5rq3bZutVjM0mPfYNrxlHqZJQ6GaVORqm7WDPds1WdrK9du7fqb+u59x70LRhHqZNR6mSUOhml7lvWTCfzLie3GpwNGlwxODgp1WQcpU5GqZNR6mSUuos102O/1h9b2Hbv2nszWCf/hUi9ZRylTkapk1HqZJS6yZrprTVjg3uDBsuv5p3Xmqv+jKPUySh1MkqdjFJ3VDNF5iHeWo32WHG2Nlh+NRlHqZNR6mSUOhml7uL5TM3tPoNVwuBs0Na1H076sg8WZ+sPnzCOUiej1MkodTJKXbQHxOD+nnvFyj3No2YfK5I+GEepk1HqZJQ6GaXu695P3XszHOsHbV174l4bveYpvW99C8ZR6mSUOhmlTkape22e6V6D8MGuB29tUbp34tRj6+uszeMHkVHqZJQ6GaVucp5pcA7jXluHwfbhHwYneAbPZxp0rxPgmnGUOhmlTkapk1HqK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k1HqZJQ6GaVORqmTUepklDoZpU5GqZNR6mSUOhmlTkapk1HqZJS6/wDP+psIsnfmvwAAAABJRU5ErkJggg==",
"products": [
{
"id": 78017,
"market_id": "5d4196d7-355a-48ef-9c50-add58cc440f1",
"branch_id": "52d45774-ca95-4f87-a233-5686514d5afa",
"order_id": "60393b40-fafd-4d77-9123-8392581c5045",
"product_category_id": 1,
"product_id": "80c2e954-a1d7-47d5-9703-6d67dd4dcf6d",
"qty": 1,
"price": 15.05,
"discount": 0,
"tax": 1.51,
"subtotal": 15.05,
"total": 16.56,
"cost": 10,
"profit": 5.77,
"is_done": false,
"created_at": 1705975167427,
"updated_at": 1705975167427,
"status": "RELATED",
"product": {
"id": "80c2e954-a1d7-47d5-9703-6d67dd4dcf6d",
"market_id": "5d4196d7-355a-48ef-9c50-add58cc440f1",
"branch_id": null,
"product_category_id": 1,
"name_en": "Sweet Mojito",
"name_ar": "Sweet Mojito",
"description_en": null,
"description_ar": null,
"preparation_time": 0,
"stock": null,
"order": 18,
"images": [
"https://flavours-files.s3.me-south-1.amazonaws.com/img/uploads/products/1699716408-0.jpg"
],
"is_active": true,
"created_at": 1697378357571,
"updated_at": 1697378357571,
"deleted_at": null,
"rating_amount": 0,
"rating_avg": "0.00",
"sold_amount": 211,
"sold_revenue": 1440.17,
"qoyod_id": null
}
},
{
"id": 78018,
"market_id": "5d4196d7-355a-48ef-9c50-add58cc440f1",
"branch_id": "52d45774-ca95-4f87-a233-5686514d5afa",
"order_id": "60393b40-fafd-4d77-9123-8392581c5045",
"product_category_id": 5,
"product_id": "f8312d65-ddaf-4c90-8556-3a6f11fd5280",
"qty": 1,
"price": 9.09,
"discount": 0,
"tax": 0.91,
"subtotal": 9.09,
"total": 10,
"cost": 0,
"profit": 0,
"is_done": false,
"created_at": 1705975167427,
"updated_at": 1705975167427,
"status": "RELATED",
"product": {
"id": "f8312d65-ddaf-4c90-8556-3a6f11fd5280",
"market_id": "5d4196d7-355a-48ef-9c50-add58cc440f1",
"branch_id": null,
"product_category_id": 5,
"name_en": "Coffe Product",
"name_ar": "Ice Not Include",
"description_en": null,
"description_ar": null,
"preparation_time": 0,
"stock": null,
"order": 22,
"images": null,
"is_active": true,
"created_at": 1697715366529,
"updated_at": 1697715366529,
"deleted_at": null,
"rating_amount": 0,
"rating_avg": "0.00",
"sold_amount": 17,
"sold_revenue": 0,
"qoyod_id": null
}
}
],
"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": "https://flavours-files.s3.me-south-1.amazonaws.com/img/uploads/markets/covers/1688386859.png",
"email": "[email protected]",
"phone_prefix": "966",
"phone": "551564439",
"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,
"is_active": true
},
"transaction": {
"id": 69742,
"market_id": "5d4196d7-355a-48ef-9c50-add58cc440f1",
"branch_id": "52d45774-ca95-4f87-a233-5686514d5afa",
"order_id": "60393b40-fafd-4d77-9123-8392581c5045",
"discount": 0,
"tax": 2.41,
"subtotal": 24.14,
"total": 26.56,
"cost": 10,
"profit": 5.77,
"created_at": 1705975167419,
"updated_at": 1705975167419,
"status": "PAID",
"discount_id": null,
"payment_fees": 0
}
}
],
"first_page_url": "http://172.31.25.152/api/v2/orders?page=1&per_page=3&sort=-created_at&includes%5B0%5D=products.product&filter%5Bmarket_id%5D=5d4196d7-355a-48ef-9c50-add58cc440f1&filter%5Bcreated_at_after%5D=1698089349210",
"from": 1,
"last_page": 235,
"last_page_url": "http://172.31.25.152/api/v2/orders?page=235&per_page=3&sort=-created_at&includes%5B0%5D=products.product&filter%5Bmarket_id%5D=5d4196d7-355a-48ef-9c50-add58cc440f1&filter%5Bcreated_at_after%5D=1698089349210",
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "http://172.31.25.152/api/v2/orders?page=1&per_page=3&sort=-created_at&includes%5B0%5D=products.product&filter%5Bmarket_id%5D=5d4196d7-355a-48ef-9c50-add58cc440f1&filter%5Bcreated_at_after%5D=1698089349210",
"label": "1",
"active": true
},
{
"url": "http://172.31.25.152/api/v2/orders?page=2&per_page=3&sort=-created_at&includes%5B0%5D=products.product&filter%5Bmarket_id%5D=5d4196d7-355a-48ef-9c50-add58cc440f1&filter%5Bcreated_at_after%5D=1698089349210",
"label": "2",
"active": false
},
{
"url": "http://172.31.25.152/api/v2/orders?page=3&per_page=3&sort=-created_at&includes%5B0%5D=products.product&filter%5Bmarket_id%5D=5d4196d7-355a-48ef-9c50-add58cc440f1&filter%5Bcreated_at_after%5D=1698089349210",
"label": "3",
"active": false
},
{
"url": "http://172.31.25.152/api/v2/orders?page=4&per_page=3&sort=-created_at&includes%5B0%5D=products.product&filter%5Bmarket_id%5D=5d4196d7-355a-48ef-9c50-add58cc440f1&filter%5Bcreated_at_after%5D=1698089349210",
"label": "4",
"active": false
},
{
"url": "http://172.31.25.152/api/v2/orders?page=5&per_page=3&sort=-created_at&includes%5B0%5D=products.product&filter%5Bmarket_id%5D=5d4196d7-355a-48ef-9c50-add58cc440f1&filter%5Bcreated_at_after%5D=1698089349210",
"label": "5",
"active": false
},
{
"url": "http://172.31.25.152/api/v2/orders?page=6&per_page=3&sort=-created_at&includes%5B0%5D=products.product&filter%5Bmarket_id%5D=5d4196d7-355a-48ef-9c50-add58cc440f1&filter%5Bcreated_at_after%5D=1698089349210",
"label": "6",
"active": false
},
{
"url": "http://172.31.25.152/api/v2/orders?page=7&per_page=3&sort=-created_at&includes%5B0%5D=products.product&filter%5Bmarket_id%5D=5d4196d7-355a-48ef-9c50-add58cc440f1&filter%5Bcreated_at_after%5D=1698089349210",
"label": "7",
"active": false
},
{
"url": "http://172.31.25.152/api/v2/orders?page=8&per_page=3&sort=-created_at&includes%5B0%5D=products.product&filter%5Bmarket_id%5D=5d4196d7-355a-48ef-9c50-add58cc440f1&filter%5Bcreated_at_after%5D=1698089349210",
"label": "8",
"active": false
},
{
"url": "http://172.31.25.152/api/v2/orders?page=9&per_page=3&sort=-created_at&includes%5B0%5D=products.product&filter%5Bmarket_id%5D=5d4196d7-355a-48ef-9c50-add58cc440f1&filter%5Bcreated_at_after%5D=1698089349210",
"label": "9",
"active": false
},
{
"url": "http://172.31.25.152/api/v2/orders?page=10&per_page=3&sort=-created_at&includes%5B0%5D=products.product&filter%5Bmarket_id%5D=5d4196d7-355a-48ef-9c50-add58cc440f1&filter%5Bcreated_at_after%5D=1698089349210",
"label": "10",
"active": false
},
{
"url": null,
"label": "...",
"active": false
},
{
"url": "http://172.31.25.152/api/v2/orders?page=234&per_page=3&sort=-created_at&includes%5B0%5D=products.product&filter%5Bmarket_id%5D=5d4196d7-355a-48ef-9c50-add58cc440f1&filter%5Bcreated_at_after%5D=1698089349210",
"label": "234",
"active": false
},
{
"url": "http://172.31.25.152/api/v2/orders?page=235&per_page=3&sort=-created_at&includes%5B0%5D=products.product&filter%5Bmarket_id%5D=5d4196d7-355a-48ef-9c50-add58cc440f1&filter%5Bcreated_at_after%5D=1698089349210",
"label": "235",
"active": false
},
{
"url": "http://172.31.25.152/api/v2/orders?page=2&per_page=3&sort=-created_at&includes%5B0%5D=products.product&filter%5Bmarket_id%5D=5d4196d7-355a-48ef-9c50-add58cc440f1&filter%5Bcreated_at_after%5D=1698089349210",
"label": "Next »",
"active": false
}
],
"next_page_url": "http://172.31.25.152/api/v2/orders?page=2&per_page=3&sort=-created_at&includes%5B0%5D=products.product&filter%5Bmarket_id%5D=5d4196d7-355a-48ef-9c50-add58cc440f1&filter%5Bcreated_at_after%5D=1698089349210",
"path": "http://172.31.25.152/api/v2/orders",
"per_page": 3,
"prev_page_url": null,
"to": 3,
"total": 703
}
}
Last modified: a month ago