Objective: Returns a list of orders received in a specific period
JSON Composition for sending
{
"auth" : authentication token
"begin" : date – d/m/yyyy – initial order insertion date in TPL
,"end" : data – d/m/yyyy – final order insertion date in TPL
}
Success return:
{
"code" : 200
, "list" :
[
{
"id" : order ID in TPL
,"order" : order number
,"date" : order date
,"prediction" : delivery forecast date (depends on carrier)
}
]
}
Error return:
{
"code" : integer
}
Notes:
Code:
400: auth already in use (if the method is called more than once, the key won’t be provided until 1h passes)
402: invalid data received
404: apikey/token not identified
405: no orders to list
500: client blocked
Cancelled records will not be returned in this query.