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

v2.video.get_video_detail_product_performance

GET /api/v2/video/get_video_detail_product_performance

Get dữ liệu hiệu suất for products linked with individual post Shopee Video. There is at least a one-day delay.

Đường dẫn Endpoint

URL: https://partner.shopeemobile.com/api/v2/video/get_video_detail_product_performance

Tham số chung

TênKiểuMẫuMô tả
partner_idint1Partner ID được gán khi đăng ký thành công. Bắt buộc cho tất cả các yêu cầu.
timestamptimestamp1610000000Dùng để chỉ định thời gian của yêu cầu. Bắt buộc cho tất cả các 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 đối với API. Có thể sử dụng nhiều lần và hết hạn sau 4 giờ.
user_idint1Shopee's mã định danh duy nhất 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ả
page_noint64TrueThe start index of request. Starting from 1.
page_sizeint64TrueThe number of item returned by this request. Max is 20.
post_idstringTrueThe mã định danh duy nhất for post Shopee Video.
item_idint64FalseShopee's mã định danh duy nhất for an item.
item_namestringFalseName of the item.

Tham số Response

TênKiểuMẫuMô tả
errorstringLoại lỗi nếu có lỗi xảy ra. Trống nếu không có lỗi.
messagestringChi tiết lỗi nếu có lỗi xảy ra. Trống nếu không có lỗi.
request_idstring2af852cd-7420-4714-b7cd-33317f6fe548Mã định danh của yêu cầu API dùng để theo dõi lỗi.
responseobjectDetail informations you are querying.
listobject[]The danh sách item that match the tình trạng.
shop_idint64Shopee's mã định danh duy nhất for a shop.
item_idint6434002Shopee's mã định danh duy nhất for an item.
item_namestringseller discountName of the item.
item_cover_image_urlstringẢnh bìa url of the item.
item_descriptionstringMô tả về the item.
likesint641Số lượt thích the post Shopee Video.
commentsint641Số lượt bình luận the post Shopee Video.
placed_ordersint641Amount of product orders from the video.
placed_salesfloat2.0Amount of product sales from the video.
unique_buyersint642Buyers of the product in the video.
sold_itemsint641Amount of products sold from the video.
product_clicksint641Amount of product clicks from the video.
product_click_ratefloat1.0Amount of product clicks from the video/Product view from video.
conversion_ratefloat1.0Amount of products sold from the video/amount of views from the video.
sales_per_orderfloat2.0Amount of product sales from the video/amount of product orders from the video.
sales_per_buyerfloat2.0Amount of product sales from the video/amount of buyers from the video.
total_countint6410Tổng số video that match the tình trạng.
has_morebooleanfalseThis is to indicate whether the danh sách video is more than one page. If this value is true, you may want to continue to check next page to retrieve the rest of data.

Unirest.setTimeouts(0, 0); HttpResponse<String> response = Unirest.get("https://partner.shopeemobile.com/api/v2/video/get\_video\_detail\_product\_performance?access\_token=access\_token&item\_id=0&item\_name=-&page\_no=0&page\_size=0&partner\_id=partner\_id&post\_id=-&sign=sign&timestamp=timestamp&user\_id=user\_id") .asString();<?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => 'https://partner.shopeemobile.com/api/v2/video/get\_video\_detail\_product\_performance?access\_token=access\_token&item\_id=0&item\_name=-&page\_no=0&page\_size=0&partner\_id=partner\_id&post\_id=-&sign=sign&timestamp=timestamp&user\_id=user\_id', CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => '', CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => 'GET', CURLOPT_HTTPHEADER => array( 'Content-Type: application/json' ), )); $response = curl_exec($curl); curl_close($curl); echo $response; curl --location --request GET 'https://partner.shopeemobile.com/api/v2/video/get\_video\_detail\_product\_performance?access\_token=access\_token&item\_id=0&item\_name=-&page\_no=0&page\_size=0&partner\_id=partner\_id&post\_id=-&sign=sign&timestamp=timestamp&user\_id=user\_id' import requests url = "https://partner.shopeemobile.com/api/v2/video/get\_video\_detail\_product\_performance?access\_token=access\_token&item\_id=0&item\_name=-&page\_no=0&page\_size=0&partner\_id=partner\_id&post\_id=-&sign=sign&timestamp=timestamp&user\_id=user\_id" payload={} headers = { } response = requests.RPCRequest("GET",url,headers=headers, data=payload, allow_redirects=False) print(response.text)

], "has_more": false }, "request_id": "e443e246-d834-454e-8541-6687dbaa2c27" }