Chuyển tới nội dung chính

v2.livestream.end_session

POST /api/v2/livestream/end_session

End Live. (For TW, ID, TH, PH, MY, SG, VN)

Đường dẫn Endpoint

URL: https://partner.shopeemobile.com/api/v2/livestream/end_session

Tham số chung

TênKiểuMẫuMô tả
partner_idint1Partner ID được cấp khi đăng ký thành công. Bắt buộc cho mọi yêu cầu.
timestamptimestamp1610000000Dùng để xác định thời điểm của yêu cầu. Bắt buộc cho mọi yêu cầu. Hết hạn sau 5 phút.
access_tokenstringc09222e3fc40ffb25fc947f738b1abf1Token truy cập API, dùng để xác định quyền của bạn. Có thể dùng nhiều lần và hết hạn sau 4 giờ.
user_idint1Shopee's unique identifier for a user.
signstringe318d3e932719916a9f9ebb57e2011961bd47abfa54a36e040d050d8931596e2Signature generated by(depends on different APIs) partner_id, api path, timestamp, access_token, user_id and partner_key via HMAC-SHA256 hashing algorithm.

Tham số Request

TênKiểuBắt buộcMẫuMô tả
session_idint64True6236215The identifier of livestream session.

Tham số Response

TênKiểuMẫuMô tả
errorstringCho biết loại lỗi nếu có lỗi xảy ra. Để trống nếu không có lỗi.
messagestringCho biết chi tiết lỗi nếu có lỗi xảy ra. Để trống nếu không có lỗi.
request_idstring2b02779a357abd74e15f4273b61a0f01Mã định danh cho yêu cầu API, dùng để theo dõi lỗi.
responseobjectDetail informations you are querying.