Skip to main content

Add Child Account

Add child account to a parent account, the parent account needs to be enabled by the “partner” field. A SMS code will be sent to child account for verification

HTTP Request

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

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

Query Parameters

ParameterTypeRequiredDescription
tokenStringYesParent token.
child_idStringYesChild Account ID.

Response

JSON response example:

{}

Status-Code: 200 OK

Errors

CodeTextDescription
404Not FoundToken not found, child_id not found.
401UnauthorizedParent account doesn’t have the “partner” field or child account belongs to another partner.
409ConflictParent account existed, Sub-child accounts existed (The child account already has a parent or is already a parent of other accounts).
500Internal Server ErrorWe had a problem with our server. Try again later.
503Service UnavailableWe're temporarily offline for maintenance. Please try again later.