Replaced by filters on /orders endpoint.
Returns list of all orders with certain status (replace open with desired status name).
Path parameters
-
Values are
blocked,open,shipping,shipped,delivered,returned,cancelled, orlost.
Query parameters
-
With URL parameter
filter=basicobjects with basic data are returned instead of list of ids.Value is
basic. -
Client identifier
curl \
-X GET https://mpapi.proxy.omnicado.com/v1/orders/open?client_id=yourClientId&client_id=api_token_value \
-H "X-Application-Name: myApplicationName"
{
"data": [
569847,
569891,
569936
],
"result": {
"code": 200,
"status": "OK"
},
"paging": {
"pages": 1,
"size": 1,
"page": 1
}
}
{
"data": [
{
"customer_id": 1111111111,
"customer": "John Doe",
"id": 89591350,
"source": "mallCz",
"external_id": "24bcb8fe-13d8-11ed-861d-0242ac120002",
"purchase_id": 89591351,
"cod": 25.0,
"ship_date": "2017-01-14",
"delivered_at": "2018-01-14 08:13:00",
"status": "open",
"confirmed": true,
"test": false,
"mdp": false,
"mdp_classic": false,
"mdp_spectrum": false,
"shipped": "2019-07-02 10:19:14",
"shipping": "2019-07-02 10:19:14",
"open": "2019-07-02 10:19:14",
"blocked": "2019-07-02 10:19:14",
"lost": "2019-07-02 10:19:14",
"returned": "2019-07-02 10:19:14",
"cancelled": "2019-07-02 10:19:14",
"delivered": "2019-07-02 10:19:14"
}
],
"result": {
"code": 200,
"status": "OK"
},
"paging": {
"pages": 1,
"size": 1,
"page": 1
}
}
{
"data": [
569847,
569891,
569936
],
"result": {
"code": 200,
"status": "OK"
},
"paging": {
"pages": 1,
"size": 1,
"page": 1
}
}
{
"data": [
{
"customer_id": 1111111111,
"customer": "John Doe",
"id": 89591350,
"source": "mallCz",
"external_id": "24bcb8fe-13d8-11ed-861d-0242ac120002",
"purchase_id": 89591351,
"cod": 25.0,
"ship_date": "2017-01-14",
"delivered_at": "2018-01-14 08:13:00",
"status": "open",
"confirmed": true,
"test": false,
"mdp": false,
"mdp_classic": false,
"mdp_spectrum": false,
"shipped": "2019-07-02 10:19:14",
"shipping": "2019-07-02 10:19:14",
"open": "2019-07-02 10:19:14",
"blocked": "2019-07-02 10:19:14",
"lost": "2019-07-02 10:19:14",
"returned": "2019-07-02 10:19:14",
"cancelled": "2019-07-02 10:19:14",
"delivered": "2019-07-02 10:19:14"
}
],
"result": {
"code": 200,
"status": "OK"
},
"paging": {
"pages": 1,
"size": 1,
"page": 1
}
}