Skip to main content
Version: 1.0.0

Update User Profile

Update a user profile

HTTP Request

curl -v  -X POST \
'https://apistg.ahamove.com/v1/user/update_profile' \
-H 'cache-control: no-cache'
-d '{
"token": <TOKEN_STG>,
"name": "John Doe",
"email": "johndoe@gmail.com",
"user_type": "SMEs",
"categories": [
{
"code": "FOOD",
"child_code": [
"VIETNAMESE SPECIALTIES",
"ICE-CREAM",
"PHO & NOODLES"
]
},
{
"code": "DRINK",
"child_code": [
"MILK TEA",
"SMOOTHIE & JUICE",
"BEVERAGE"
]
}
]
}'

POST https://apistg.ahamove.com/v1/user/update_profile

Query Parameters

ParameterTypeRequiredDescription
tokenStringYesToken.
nameStringNoUser Name.
emailStringNoEmail.

Response

JSON response example:

{}

Status-Code: 200 OK

Errors

CodeTextDescription
404Not FoundToken not found.
409ConflictEmail existed.
406Not AcceptableEmail not valid.
400Bad RequestInvalid user type and categories.
500Internal Server ErrorWe had a problem with our server. Try again later.
503Service UnavailableWe're temporarily offline for maintenance. Please try again later.