v2.product.get_item_content_diagnosis_result
POST /api/v2/product/get_item_content_diagnosis_result
Get the content quality details (including content quality level, content issues, and system suggestions) for specific product list.
Đường dẫn Endpoint
URL: https://partner.shopeemobile.com/api/v2/product/get_item_content_diagnosis_result
Tham số chung
| Tên | Kiểu | Mẫu | Mô tả |
|---|---|---|---|
| partner_id | int | 1 | Partner 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. |
| timestamp | timestamp | 1610000000 | Dù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_token | string | c09222e3fc40ffb25fc947f738b1abf1 | Token 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_id | int | 600000 | Mã đị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. |
| sign | string | e318d3e932719916a9f9ebb57e2011961bd47abfa54a36e040d050d8931596e2 | Signature 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ên | Kiểu | Bắt buộc | Mẫu | Mô tả |
|---|---|---|---|---|
| item_id_list | int64[] | True | [10760653,10943921] | item_id list; limit [1,48] |
Tham số Response
| Tên | Kiểu | Mẫu | Mô tả |
|---|---|---|---|
| error | string | Loại lỗi nếu có lỗi xảy ra. Trống nếu không có lỗi. | |
| message | string | Chi tiết lỗi nếu có lỗi xảy ra. Trống nếu không có lỗi. | |
| warning | string | Indicate waring details if hit waring. Empty if no waring happened. | |
| request_id | string | Mã định danh của yêu cầu API dùng để theo dõi lỗi. | |
| response | object | ||
| success_item_list | object[] | ||
| item_id | int64 | Shopee's mã định danh duy nhất for an item. | |
| quality_level | int32 | Item's latest content quality level. Các giá trị áp dụng: 0: NONE (No quality level for item in SELLER_DELETE / SHOPEE_DELETE / BANNED status) 1: TO_BE_IMPROVED 2: QUALIFIED 3: EXCELLENT | |
| unfinished_task | object[] | ||
| issue_type | int32 | Item's content issue. Các giá trị áp dụng: 1: TOO_FEW_IMAGES 2: WRONG_CATEGORY 3: TOO_FEW_ATTRIBUTES_FOR_QUALIFIED 4: LACK_OF_SIZE_CHART 5: LACK_OF_STANDARD_VARIATION 6: LACK_BRAND 7: TOO_SHORT_DESCRIPTION 8: TOO_SHORT_OR_TOO_LONG_NAME 9: WRONG_WEIGHT 10: LACK_OF_VIDEO 11: TOO_FEW_ATTRIBUTES_FOR_EXCELLENT | |
| suggestion | string | System suggestion for item's content issue. Các giá trị áp dụng: Add at least 3 images Adopt suggested category Add at least 1 attributes Add bảng kích thước Adopt the color or size variation Add brand info Add at least 100 characters or 1 image for desc Add characters for name to 25~100 Adopt suggested weight Add video Add at least 3 attributes | |
| failure_item_list | object[] | ||
| item_id | int64 | Shopee's mã định danh duy nhất for an item. | |
| failed_reason | string | Item's failure reason. |
Dữ liệu gửi
{ "item_id_list": [ 843988729, 100760653, 100957110, 100918814, 102202080 ] }
], "success_item_list": [ { "item_id": 100760653, "quality_level": 3 }, { "item_id": 100957110, "quality_level": 2, "unfinished_task": [ { "issue_type": 10, "suggestion": "Add video" }, { "issue_type": 8, "suggestion": "Add characters for name to 25~100" }, { "issue_type": 7, "suggestion": "Add at least 100 characters or 1 image for description" }, { "issue_type": 11, "suggestion": "Add at least 3 attributes" } ] }, { "item_id": 100918814, "quality_level": 1, "unfinished_task": [ { "issue_type": 1, "suggestion": "Add at least 3 images" }, { "issue_type": 3, "suggestion": "Add at least 1 attribute" } ] }, { "item_id": 102202080, "quality_level": 0 } ] }, "warning": "" }