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

DEL Xóa Global Products

Xóa Global Products Seller Scope yêu cầu: seller.global_product.delete Xóa các global product mà bạn không còn cần nữa. Phiên bản 202309

DEL/product/202309/global_products

Request

Header

PropertiesTypeDescription
content-type RequiredstringLoại được cho phép: application/json
x-tts-access-token RequiredstringGiá trị access_token của seller từ Get Access Token, khi user_type = 0. Làm theo hướng dẫn này để lấy access_token của seller.

Query

PropertiesTypeDescription
app_key RequiredstringMỗi app sẽ có một key duy nhất. Vui lòng sử dụng key cụ thể được gán cho app của bạn.
sign RequiredstringChữ ký được tạo bởi thuật toán gen. Khi bạn gửi các API request đến TTS, bạn phải ký chúng để TTS có thể xác định người gửi.
timestamp RequiredintUnix timestamp GMT (UTC+00:00). Timestamp này được sử dụng trên tất cả các API request. Lập trình viên có thể dùng giá trị này để chuyển đổi sang giờ địa phương.

Body

PropertiesTypeDescription
global_product_ids Required[]stringCác global product ID cần xóa.Số lượng ID tối đa: 20

Example

CurlGoNode.jsJavaEnable word wrap

Response Parameters

PropertiesTypeDescription
codeintMã trạng thái thành công hoặc thất bại được trả về trong API response.
messagestringThông báo thành công hoặc thất bại được trả về trong API response. Lý do thất bại sẽ được mô tả trong message.
request_idstringLog của request
dataobjectThông tin trả về cụ thể

Example

JSONEnable word wrap

Error Code

Xem các mã lỗi phổ biến

| Code | Message | | --- | --- | | 12019008 | Product id is invalid | | 12019114 | Seller has no permission | | 12019120 | The number of provided product IDs exceeds the limit. | | 12019150 | The product ID does not exist. | | 12052700 | The seller is inactive. | | 36009003 | Internal error. Please try again. If the issue persists after multiple attempts, please contact platform support. |

Nội dung này có hữu ích không?Hữu ích

Không hữu ích

PreviousNext