Last updated 3 months ago
Note:
For APIs used for Shop, the API key is: . The base_url information of the .
For APIs used for Partner, the API key is: . The base_url information of the .
Request:
curl --location 'BASE_URL.Zalo/RequestUserInfo' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer $API_KEY' \ --data '{ "oa_id": "string", "zl_user_id": "string" }'
Response:
{ "updated": 0 }
Request body structure
id
string
OA ID
zl_user_id
Zalo User ID
<api_key>
<shop_key>
POST /RequestUserInfo HTTP/1.1 Host: $BASE_URL.Zalo Content-Type: application/json Accept: */* Content-Length: 36 { "oa_id": "text", "zl_user_id": "text" }
A successful response
{ "updated": 1 }