Last updated 3 months ago
Lưu ý:
Đối với các API sử dụng cho Shop thì API_KEY: .Thông tin base_url của
Đối với các API sử dụng cho Partner thì API_KEY: .Thông tin base_url của
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 }
Cấu trúc body của request
oa_id
string
ID của OA
zl_user_id
ID người dùng Zalo
<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 }