Skip to main content
Version: 1.0.0

Get Order List

This API is used to get a list of orders for a user. The returned list is sorted in descending order by order_time

curl -X GET \
'https://apistg.ahamove.com/v1/order/list?token=5d352c14eb44d753c5dcfc0b' \
-H 'cache-control: no-cache'

HTTP Request

GET https://apistg.ahamove.com/v1/order/list

Query Parameters

ParameterTypeRequiredDescription
tokenStringYesThe user Token.
statusStringNoFilter by order status
countNumberNoNumber of elements returned, default 20
offsetNumberNoOffset, default 0
from_timeNumberNoFilter by order_time
to_timeNumberNoFilter by order_time
child_idsArrayNoLimit to a subset of child ids, for partner account
fieldsStringNoSet to return only these fields
totalBooleanNoReturn total count, default False

Response

JSON response example:

[
{
"_id": "ABCDEF",
... # order detail
},
...
]

Status-Code: 200 OK

Errors

CodeTextDescription
404Not FoundToken not found
500Internal Server ErrorWe had a problem with our server. Try again later.
503Service UnavailableWe're temporarily offline for maintenance. Please try again later.