configurable-products/{sku}/children
GET
/V1/configurable-products/{sku}/children
configurable-products/{sku}/children
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'http:///V1/configurable-products//children'
响应示例响应示例
200 - 示例 1
[
{
"attribute_set_id": 0,
"created_at": "string",
"custom_attributes": [
{
"attribute_code": "string",
"value": "string"
}
],
"extension_attributes": {
"bundle_product_options": [
{
"extension_attributes": {},
"option_id": 0,
"position": 0,
"product_links": [
{
"can_change_quantity": 0,
"extension_attributes": {},
"id": "string",
"is_default": true,
"option_id": 0,
"position": 0,
"price": 0,
"price_type": 0,
"qty": 0,
"sku": "string"
}
],
"required": true,
"sku": "string",
"title": "string",
"type": "string"
}
],
"category_links": [
{
"category_id": "string",
"extension_attributes": {},
"position": 0
}
],
"configurable_product_links": [
0
],
"configurable_product_options": [
{
"attribute_id": "string",
"extension_attributes": {},
"id": 0,
"is_use_default": true,
"label": "string",
"position": 0,
"product_id": 0,
"values": [
{
"extension_attributes": {},
"value_index": 0
}
]
}
],
"downloadable_product_links": [
{
"extension_attributes": {},
"id": 0,
"is_shareable": 0,
"link_file": "string",
"link_file_content": {
"extension_attributes": {},
"file_data": "string",
"name": "string"
},
"link_type": "string",
"link_url": "string",
"number_of_downloads": 0,
"price": 0,
"sample_file": "string",
"sample_file_content": {
"extension_attributes": {},
"file_data": "string",
"name": "string"
},
"sample_type": "string",
"sample_url": "string",
"sort_order": 0,
"title": "string"
}
],
"downloadable_product_samples": [
{
"extension_attributes": {},
"id": 0,
"sample_file": "string",
"sample_file_content": {
"extension_attributes": {},
"file_data": "string",
"name": "string"
},
"sample_type": "string",
"sample_url": "string",
"sort_order": 0,
"title": "string"
}
],
"giftcard_amounts": [
{
"attribute_id": 0,
"extension_attributes": {},
"value": 0,
"website_id": 0,
"website_value": 0
}
],
"stock_item": {
"backorders": 0,
"enable_qty_increments": true,
"extension_attributes": {},
"is_decimal_divided": true,
"is_in_stock": true,
"is_qty_decimal": true,
"item_id": 0,
"low_stock_date": "string",
"manage_stock": true,
"max_sale_qty": 0,
"min_qty": 0,
"min_sale_qty": 0,
"notify_stock_qty": 0,
"product_id": 0,
"qty": 0,
"qty_increments": 0,
"show_default_notification_message": true,
"stock_id": 0,
"stock_status_changed_auto": 0,
"use_config_backorders": true,
"use_config_enable_qty_inc": true,
"use_config_manage_stock": true,
"use_config_max_sale_qty": true,
"use_config_min_qty": true,
"use_config_min_sale_qty": 0,
"use_config_notify_stock_qty": true,
"use_config_qty_increments": true
},
"website_ids": [
0
]
},
"id": 0,
"media_gallery_entries": [
{
"content": {
"base64_encoded_data": "string",
"name": "string",
"type": "string"
},
"disabled": true,
"extension_attributes": {
"video_content": {
"media_type": "string",
"video_description": "string",
"video_metadata": "string",
"video_provider": "string",
"video_title": "string",
"video_url": "string"
}
},
"file": "string",
"id": 0,
"label": "string",
"media_type": "string",
"position": 0,
"types": [
"string"
]
}
],
"name": "string",
"options": [
{
"extension_attributes": {
"vertex_flex_field": "string"
},
"file_extension": "string",
"image_size_x": 0,
"image_size_y": 0,
"is_require": true,
"max_characters": 0,
"option_id": 0,
"price": 0,
"price_type": "string",
"product_sku": "string",
"sku": "string",
"sort_order": 0,
"title": "string",
"type": "string",
"values": [
{
"option_type_id": 0,
"price": 0,
"price_type": "string",
"sku": "string",
"sort_order": 0,
"title": "string"
}
]
}
],
"price": 0,
"product_links": [
{
"extension_attributes": {
"qty": 0
},
"link_type": "string",
"linked_product_sku": "string",
"linked_product_type": "string",
"position": 0,
"sku": "string"
}
],
"sku": "string",
"status": 0,
"tier_prices": [
{
"customer_group_id": 0,
"extension_attributes": {
"percentage_value": 0,
"website_id": 0
},
"qty": 0,
"value": 0
}
],
"type_id": "string",
"updated_at": "string",
"visibility": 0,
"weight": 0
}
]
请求参数
Path 参数
sku
string
必需
返回响应
修改于 2024-11-22 03:29:06