Gửi tin Tư vấn theo mẫu yêu cầu thông tin người dùng

Lưu ý:

  • Đối với các API sử dụng cho Shop thì API_KEY: <api_key>.Thông tin base_url của Shop

  • Đối với các API sử dụng cho Partner thì API_KEY: <shop_key>.Thông tin base_url của Partner

RequestUserInfo

post
Body
image_urlstringOptional
oa_idstring · int64Required
subtitlestringOptional
titlestringOptional
zl_user_idstring · int64Required
Responses
200

A successful response

application/json
post
$BASE_URL.Zalo/RequestUserInfo
POST $BASE_URL.Zalo/RequestUserInfo HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 88

{
  "image_url": "text",
  "oa_id": "text",
  "subtitle": "text",
  "title": "text",
  "zl_user_id": "text"
}
200

A successful response

{
  "updated": 1
}

Request:

curl --location 'BASE_URL.Zalo/RequestUserInfo' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer $API_KEY' \
--data '{
     "image_url": "string",
     "oa_id": "string",
     "subtitle": "string",
     "title": "string",
     "zl_user_id": "string"
}'

Response:

{
  "updated": 0
}

Cấu trúc body của request

Tham số
Kiểu dữ liệu
Mô tả

oa_id*

string

ID của OA

zl_user_id*

string

ID người dùng Zalo

image_url

string

Đường dẫn đến ảnh

title

string

Tiêu đề hiển thị của template Lưu ý: Hỗ trợ tối đa 100 ký tự

subtitle

string

Tiêu đề phụ của template Lưu ý: Hỗ trợ tối đa 500 ký tự

Last updated