Đối tượng
Đối tượng Sku
A variant of a product (size, colour, bundle) with its own price. The same fields on every platform. A field a platform does not show is null, and meta.unavailable names it with the reason.
| Trường | Loại | Theo view | Mô tả |
|---|---|---|---|
id | string | compact | ID biến thể (SKU). |
product_id | string | compact | Sản phẩm. |
name | string | compact | Các tùy chọn tạo nên biến thể. |
price | number | null | compact | Giá của biến thể, theo đơn vị tiền tệ đã cho. |
original_price | number | null | compact | Giá trước giảm giá, nếu khác. |
currency | string | compact | Mã tiền tệ ISO 4217. |
image_url | string | null | standard | Ảnh của tùy chọn. |
stock | integer | null | compact | Số lượng tồn kho, nếu có hiển thị. |
ext | object | full | Dữ liệu bổ sung riêng của nền tảng. Chỉ trả về khi view=full. · chỉ khi view=full |