listing orders
- method GET : (GET /obapi/v1/orders)
- headers 'Authorization' => 'Bearer ' + apikey,
listing parameters
- datestart (option), string YYYY-mm-dd to specify a date from wich you want to get the list
- datestop (option), string YYYY-mm-dd for the end period to request
Example:
{
"login": "eric@obapi.org",
}
result
Result will be a list of available orders
{
"message": "here is your orders",
"items":
{
"ref": "20220424-124588",
"uuid": "0000-1111-2222-3333",
"date": "2022-04-24",
"label": "2022-05",
"status": "draft",
},
{
"ref": "20220522-184521",
"uuid": "0000-1111-2222-3334",
"date": "2022-05-22",
"label": "Order 2022-06",
"status": "sent",
}
}
status
Status must / could be a list of dictionary