Tạo liên kết ủy quyền OA
Body
app_idstring · int64Optional
app_secretstringOptional
redirect_uristringOptional
Responses
200
A successful response
application/json
post
/v1/shop.Zalo/AuthorizeOAPOST /v1/shop.Zalo/AuthorizeOA HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 59
{
"app_id": "text",
"app_secret": "text",
"redirect_uri": "text"
}200
A successful response
{
"url": "text"
}Request:
curl --location '$BASE_URL/v1/shop.Zalo/AuthorizeOA' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer $API_KEY' \
--data '{
"app_id": "int64",
"app_secret": "string",
"redirect_uri": "string"
}'Response:
{
"url": "string"
}Cấu trúc body của request
Tham số
Kiểu dữ liệu
Mô tả
app_id
int64
ID của ứng dụng
app_secret
string
Khóa bí mật của ứng dụng
redirect_uri
string
Đường dẫn callback
Cấu trúc thuộc tính dữ liệu trả về
Tham số
Kiểu dữ liệu
Mô tả
url
string
Liên kết uỷ quyền
Last updated