Khởi tạo Journey Token

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

CreateJourney

post
Body
oa_idstring · int64Optional
phonestringOptional
token_typestring · enumOptionalPossible values:
Responses
200

A successful response

application/json
post
$BASE_URL.Zalo/CreateJourney
200

A successful response

Request:

Response:

Cấu trúc body của request

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

oa_id require

int64

ID của OA

phone require

string

Số điện thoại của người nhận.

Lưu ý: SĐT phải được liên kết với tài khoản Zalo

token_type

string (uqTokenType) Enum

"unknown" "token_logistics_7" "token_logistics_30" "token_coach_bus_7" "token_coach_bus_30" Nếu không truyền token_type mặc định là token_logistics_7

Cấu trúc thuộc tính dữ liệu trả về

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

id

int64

ID của journey trên hệ thống của eTelecom

journey_id

string

ID của journey

journey_token

string

Mã hành trình được kích hoạt

expires_at

string<date-time>

Thời gian hết hạn

phone

string

Số điện thoại người nhận

status

string

Trạng thái Z: Mới tạo P: Enable N: Disable

error_code

int

Mã lỗi

error_message

string

Thông tin lỗi

is_charged

bool

Tính phí hay không tính phí

updated_at

string<date-time>

Thời gian cập nhật

created_at

string<date-time>

Thời gian tạo

Last updated