Query parameters
-
sort
string example :to sort the orders by id_order (-id_order: descending, id_order: ascending)
Values are
id_order
,id_order_external
,total_paid
, ordate_order
. -
filter[order_search]
string retrieve orders by id_order, id_order_external.
-
filter[id_ambassador]
integer Filter by id_ambassador in attribution ambassador
-
filter[attribution]
string Filter assigned orders
Values are
assigned
,affiliation_assigned
, orconversation_assigned
. -
filter[last_status]
string Filter by last_status
Values are
OK
,OK_DELAY
,E-BOOKING
,CANCELLED
,RETURNED
,PENDING
, orFULFILLED
. -
filter[type]
string Filter by order type
Values are
MAG
,STORE
,WEB
, or.
-
filter[id_ambassador_post]
integer Filter orders by linked ambassador post
-
filter[id_chatroom]
integer Filter orders by linked chatroom
-
filter[id_buyer]
integer Filter orders by linked buyer
-
page
integer page number
-
per_page
integer number of items per page
GET
/manager/orders
curl \
--request GET 'https://domain.tld/api/v2/manager/orders' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"current_page": 42,
"data": [
{}
],
"first_page_url": "string",
"from": 42,
"last_page": 42,
"last_page_url": "string",
"links": [
{
"url": "string",
"label": "string",
"active": true
}
],
"next_page_url": "string",
"path": "string",
"per_page": 42,
"prev_page_url": "string",
"to": 42,
"total": 42
}
Response examples (401)
{
"message": "Unauthorized."
}