Skip to main content

Get Child Account List

Returns a list of child accounts of a parent account with parent token

HTTP Request

curl -X GET \
'https://apistg.ahamove.com/v1/partner/get_child_list?token=<TOKEN_STG>' \
-H 'cache-control: no-cache'

GET https://apistg.ahamove.com/v1/partner/get_child_list

Query Parameters

ParameterTypeRequiredDescription
tokenStringYesParent token.

Response

JSON response example:

[
{
"_id": "84xxxxxxxxx",
"name": "store test test test",
"partner": "test_key",
"email": null,
"referral_code": "84xxxxxxxxx",
"country_code": "VN",
"currency": "VND",
"account_status": "ACTIVATED",
"create_time": 1551155326.708945,
"parent_id": "84xxxxxxxxx",
"home": {
"address": "4 Nguyen Dinh Chieu,Da Kao,Quan 1,TPHCM",
"lat": 10.7918246,
"lng": 106.7022344
},
"city_id": ["SGN"]
}
]

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.