Skip to main content
Version: 3.0.0

Get Child Account List

Get a list of child accounts associated with the parent account using the User ID in the token

curl --location 'https://partner-apistg.ahamove.com/v3/accounts/childs' \
--header 'Authorization: Bearer <token>' \

HTTP Request

GET https://partner-apistg.ahamove.com/v3/accounts/childs

Headers

ParameterValueRequiredDescription
AuthorizationBearer <token>YesToken of the parent account

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": {},
"city_id": ["SGN"]
}
]

Status-Code: 200 OK

Errors

CodeTextDescription
401NOT_AUTHORIZEDInvalid token
500INTERNAL_SERVER_ERRORWe had a problem with our server. Try again later
503SERVICE_UNAVAILABLEWe're temporarily offline for maintenance. Please try again later