get https://api.splio.com/data/v1/orders
Get the list of orders.
Error cases
Wrong type in query param (400)
{
"status": 400,
"errors": [
{
"error_key": "per_page",
"error": "wrong_type",
"error_description": "This value should be of type numeric."
},
{
"error_key": "per_page",
"error": "wrong_value",
"error_description": "This value should be greater than 0."
}
]
}
Wrong operator in search (400)
{
"status": 400,
"errors": [
{
"error_key": "operator",
"error": "wrong_value",
"error_description": "Operator \"trytest\" is invalid. Allowed operators : equal, is, greater, lower, after, before, notequal, isnot, contains, ends, starts, like."
}
]
}
Wrong field in search (400)
{
"status": 400,
"errors": [
{
"error_key": "fields.0.key",
"error": "wrong_value",
"error_description": "Field \"test\" is invalid. Recognized fields : ext_id, external_id, shipping_amount, discount_amount, total_price, tax_amount, currency, sales_person, creation_date, created_at, ordered_date, ordered_at, c0, c1, c2, c3, c4, c5, c6, c7, c8, c9."
}
]
}