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

v2.product.generate_kit_image

POST /api/v2/product/generate_kit_image

This API generates a single consolidated image by combining the ảnh bìas of all selected items. It is typically used to create a unified product display image for kits or bundles.

Đường dẫn Endpoint

URL: https://partner.shopeemobile.com/api/v2/product/generate_kit_image

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ờ.
shop_idint600000Mã định danh duy nhất của Shopee cho một cửa hàng. Tham số bắt buộc cho hầu hết các API.
signstringe318d3e932719916a9f9ebb57e2011961bd47abfa54a36e040d050d8931596e2Signature generated by partner_id, api path, timestamp, access_token, shop_id and partner_key via HMAC-SHA256 hashing algorithm. More details: https://open.shopee.com/documents?module=87&type=2&id=58&version=2

Tham số Request

TênKiểuBắt buộcMẫuMô tả
component_listobject[]TruePlease send up until 9 components.
component_item_idint64TrueID of the item that composes this kit model.
component_model_idint64FalseID of the model that composes this kit model.

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_idstringMã định danh của yêu cầu API dùng để theo dõi lỗi.<path></path><path></path>
responseobject
kit_imagestringgenerated kit image

No Request Example Set.

No Response Example Set.

No Error Codes Set.

Loại APP có thể gọi API này.

ERP System

Seller In House System

Quản lý Sản phẩm