List Orders

GET {{baseUrl}}/orders?keyword=ad ipsum incididunt in&status=11&status=2&status=17&status=47&status=95&status=8&from_date=30-12-2022&to_date=31-12-2022&country=1473353380&city=جدة&product=ad ipsum incididunt in&expanded=false&page=1&reference_id=613398835

You can list all orders related to your store directly from this endpoint. Also, it allows you to filter them using a different set of optional parameters.

Request Params

KeyDatatypeRequiredDescription
keywordstring<br>- customer.mobile
statusnumberFind orders for specific status (array of ID integers). List of statuses can be found here
statusnumberFind orders for specific status (array of ID integers). List of statuses can be found here
statusnumberFind orders for specific status (array of ID integers). List of statuses can be found here
statusnumberFind orders for specific status (array of ID integers). List of statuses can be found here
statusnumberFind orders for specific status (array of ID integers). List of statuses can be found here
statusnumberFind orders for specific status (array of ID integers). List of statuses can be found here
from_datestringFind orders created after a specific date.
to_datestringFind orders created before a specific date.
countrynumberInteger find orders for specific country. List of countries can be found here
citystringFind orders for specific city. List of cities can be found here
productstringFind orders for specific product via its name variable. List of products can be found here
expandedbooleanGet full details of orders same as order details response by setting the value to true.
pagenumberThe Pagination page number
reference_idnumberThis is the ID that appears to the store owner

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;status&quot;:200,&quot;success&quot;:true,&quot;data&quot;:[{&quot;id&quot;:1017120475,&quot;reference_id&quot;:40497536,&quot;total&quot;:{&quot;amount&quot;:55,&quot;currency&quot;:&quot;SAR&quot;},&quot;date&quot;:{&quot;date&quot;:&quot;2022-06-16 14:48:20.000000&quot;,&quot;timezone_type&quot;:3,&quot;timezone&quot;:&quot;Asia/Riyadh&quot;},&quot;status&quot;:{&quot;id&quot;:566146469,&quot;name&quot;:&quot;بإنتظار المراجعة&quot;,&quot;slug&quot;:&quot;under_review&quot;,&quot;customized&quot;:{&quot;id&quot;:986688842,&quot;name&quot;:&quot;بإنتظار المراجعة&quot;}},&quot;can_cancel&quot;:false,&quot;can_reorder&quot;:true,&quot;is_pending_payment&quot;:false,&quot;pending_payment_ends_at&quot;:0,&quot;items&quot;:[{&quot;name&quot;:&quot;تي شيرت بلاك&quot;,&quot;quantity&quot;:1}]},{&quot;id&quot;:1013578136,&quot;reference_id&quot;:40497469,&quot;total&quot;:{&quot;amount&quot;:0,&quot;currency&quot;:&quot;SAR&quot;},&quot;date&quot;:{&quot;date&quot;:&quot;2022-06-16 14:46:42.000000&quot;,&quot;timezone_type&quot;:3,&quot;timezone&quot;:&quot;Asia/Riyadh&quot;},&quot;status&quot;:{&quot;id&quot;:525144736,&quot;name&quot;:&quot;ملغي&quot;,&quot;slug&quot;:&quot;canceled&quot;,&quot;customized&quot;:{&quot;id&quot;:1718741844,&quot;name&quot;:&quot;ملغي&quot;}},&quot;can_cancel&quot;:false,&quot;can_reorder&quot;:true,&quot;is_pending_payment&quot;:true,&quot;pending_payment_ends_at&quot;:0,&quot;items&quot;:[{&quot;name&quot;:&quot;Custom Shirt&quot;,&quot;quantity&quot;:3}]}],&quot;pagination&quot;:{&quot;count&quot;:2,&quot;total&quot;:2,&quot;perPage&quot;:15,&quot;currentPage&quot;:1,&quot;totalPages&quot;:1,&quot;links&quot;:{}}}