v2.product.get_item_violation_info
GET /api/v2/product/get_item_violation_info
get item violation info
Đường dẫn Endpoint
URL: https://partner.shopeemobile.com/api/v2/product/get_item_violation_info
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 | int[] | True | [34001,34002] | item_id list; limit [0,50] |
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 | ||
| item_list | object[] | ||
| item_id | int | 3400133011 | Shopee's mã định danh duy nhất for an item. |
| item_name | string | test | Name of the item. |
| item_status | string | BANNED | Enumerated type that defines the current status of the item. Các giá trị áp dụng: NORMAL, BANNED, UNLIST, SELLER_DELETE, SHOPEE_DELETE, REVIEWING. |
| deboost | boolean | true | If deboost is true, means that the item's search ranking is lowered. |
| item_status_details | object[] | ||
| violation_type | string | Prohibited Listing | Violation types defined by Shopee. Các giá trị áp dụng: Prohibited Listing Counterfeit and IP Infringement Spam Inappropriate Image Insufficient Information Mall Listing Improvement Other Listing Improvement |
| violation_reason | string | License Reason | The reason for violation. |
| suggestion | string | Upload license | Shopee provides you with suggestions for modifying items. |
| fix_deadline_time | timestamp | 1705227588 | Action required deadline. Empty if no deadline. |
| update_time | timestamp | 1705054788 | Latest update time. |
| deboost_details | object[] | ||
| violation_type | string | Prohibited Listing | Violation types defined by Shopee. Các giá trị áp dụng: Prohibited Listing Counterfeit and IP Infringement Spam Inappropriate Image Insufficient Information Mall Listing Improvement Other Listing Improvement |
| violation_reason | string | Wrong Category | The reason for violation. |
| suggestion | string | The item is in wrong category, please update to the suggested_category | Shopee provides you with suggestions for modifying items. |
| suggested_category | object[] | ||
| category_id | int | 107478 | ID for Shopee suggested category. |
| category_name | string | Personal Care | Default name for Shopee suggested category. |
| fix_deadline_time | timestamp | 1705202227 | Action required deadline. Empty if no deadline. |
| update_time | timestamp | 1704943027 | Latest update time. |
| fail_error | string | Indicate error type if one element hit error. | |
| fail_message | string | Indicate error details if one element hit error. |
No Request Example Set.
], "deboost_details":[ { "violation_type":"Prohibited Listing", "violation_reason":"Wrong Category", "suggestion":"The item is in wrong category, please update to the suggested_category", "suggested_category":[ { "category_id":100005, "category_name":"Health" }, { "category_id":107478, "category_name":"Personal Care" } ], "update_time": 1704943027, "fix_deadline_time": 1705202227, } ] } ] } }
Partial Fail: { "message": null, "request_id": "80e9cf02db62236d9c05834a5e466a41", "response": { "item_list": [ { "item_id": 843025868, "item_name": "item 39 test", "item_status": "BANNED", "deboost": false, "item_status_details": [ { "fix_deadline_time": 1705228281, "suggestion": "Upload license", "update_time": 1705055481, "violation_reason": "License Reason", "violation_type": "Prohibited Listing" } ] } { "item_id": 843024518, "fail_error": "error_param", "fail_message": "Invalid request item_id" }, { "item_id": 43026711, "fail_error": "error_param", "fail_message": "Invalid request item_id" } ] } }