Search Orders
Changed onEndpoint to retrieve your Orders.
Request
- Base URLhttps://api.soldo.com
- AuthOAuth 2Client credentialsToken URLhttps://api.soldo.com/oauth/authorizeScopescompany_read
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
The Order ID.
The status of the Order.
The beginning of the period of the search fromDate included (i.e. greater than or equal to) (Formats: yyyy-MM-dd, yyyy-MM-ddThh:mm:ss, yyyy-MM-ddThh:mm:ssZ).
The end of the period of the search toDate included (i.e. less than) (Formats: yyyy-MM-dd, yyyy-MM-ddThh:mm:ss, yyyy-MM-ddThh:mm:ssZ).
It indicates the specific page to display (the counter starts from zero).
It indicates the number of items per page.
It indicates how the pages are ordered.
It indicates the sorting direction applied to the above parameters. To apply a sorting on multiple parameters, set as many times the props parameter in the request.
[ "creationTime" ]
Response
The result is an array containing Orders.
Example response
{
"total": 168,
"pages": 7,
"page_size": 25,
"results_size": 25,
"results": [
{
"id": "7bf79328-a7ae-4222-aa54-091ff7f429a7",
"creation_time": "2017-06-01T12:48:40Z",
"last_update_time": "2017-06-01T12:48:40Z",
"total_paid_amount": 10.25,
"items": [
{
"id": "7bf79328-a7ae-4222-aa54-091ff7f429a7",
"item_type": "CARD"
}
],
"is_valid": true
}
]
}Changes
- info
for the
queryrequest parameterfromDate, the type was generalized from no type tostring, and format from no format todate-time - info
for the
queryrequest parametertoDate, the type was generalized from no type tostring, and format from no format todate-time
- info