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

GET Lấy thông tin Global Product

Lấy thông tin Global Product Seller Scope bắt buộc: seller.global_product.info Truy xuất tất cả thuộc tính của một global product đang ở trạng thái "DRAFT", "UNPUBLISHED" hoặc "PUBLISHED", và các local product ID tương ứng tại những thị trường đã đăng bán. Phiên bản 202309

GET/product/202309/global_products/{global_product_id}

Request

Path

PropertiesTypeDescription
global_product_id RequiredstringGlobal product ID

Header

PropertiesTypeDescription
content-type RequiredstringLoại được 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 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 API request đến TTS, bạn phải ký chúng để TTS có thể nhận diện người gửi.
timestamp RequiredintUnix timestamp GMT (UTC+00:00). Timestamp này được dùng trên tất cả các API request. Nhà phát triển có thể dùng để chuyển đổi sang giờ địa phương.

Example

CurlGoNode.jsJavaEnable word wrap

Response Parameters

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

Example

JSONEnable word wrap

Error Code

Xem các mã lỗi thường gặp

| Code | Message | | --- | --- | | 12052032 | The product does not exist | | 12052048 | You cannot edit the specified product(s) as it isn't listed in your account or shop. | | 12052260 | The product ID does not exist | | 36009003 | Internal error. Please try again. If the issue persists after multiple attempts, please contact platform support. | | 12052901 | The product in its current status is not available for this operation. Change the product status and try again. |

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

Không hữu ích

PreviousNext