wb-products-configurable

GET /default/V1/wb/products/configurable

Request

This call does not accept a request body.

Response

{
    "id": 1001,
    "sku": "configurable",
    "name": "Configurable Product",
    "attribute_set_id": 4,
    "price": 0,
    "status": 1,
    "visibility": 4,
    "type_id": "configurable",
    "created_at": "2017-11-24 10:29:50",
    "updated_at": "2017-11-24 10:29:50",
    "extension_attributes": {
        "stock_item": {
            "item_id": 2097,
            "product_id": 1001,
            "stock_id": 1,
            "qty": 0,
            "is_in_stock": true,
            "is_qty_decimal": false,
            "show_default_notification_message": false,
            "use_config_min_qty": true,
            "min_qty": 0,
            "use_config_min_sale_qty": 1,
            "min_sale_qty": 1,
            "use_config_max_sale_qty": true,
            "max_sale_qty": 10000,
            "use_config_backorders": true,
            "backorders": 0,
            "use_config_notify_stock_qty": true,
            "notify_stock_qty": 1,
            "use_config_qty_increments": true,
            "qty_increments": 0,
            "use_config_enable_qty_inc": true,
            "enable_qty_increments": false,
            "use_config_manage_stock": true,
            "manage_stock": true,
            "low_stock_date": null,
            "is_decimal_divided": false,
            "stock_status_changed_auto": 0
        },
        "configurable_product_options": [
            {
                "id": 324,
                "attribute_id": "171",
                "label": "Test Configurable",
                "position": 0,
                "values": [
                    {
                        "value_index": 245
                    },
                    {
                        "value_index": 246
                    }
                ],
                "product_id": 1001
            }
        ],
        "configurable_product_links": [
            10,
            20
        ],
        "configurable_products_info": [
            {
                "sku": "simple_10",
                "id": 10,
                "attributes": [
                    {
                        "code": "test_configurable",
                        "label": "Option 1",
                        "value": "245"
                    }
                ]
            },
            {
                "sku": "simple_20",
                "id": 20,
                "attributes": [
                    {
                        "code": "test_configurable",
                        "label": "Option 2",
                        "value": "246"
                    }
                ]
            }
        ]
    },
    "product_links": [],
    "options": [],
    "media_gallery_entries": [],
    "tier_prices": [],
    "custom_attributes": [
        {
            "attribute_code": "category_ids",
            "value": []
        },
        {
            "attribute_code": "options_container",
            "value": "container2"
        },
        {
            "attribute_code": "required_options",
            "value": "0"
        },
        {
            "attribute_code": "has_options",
            "value": "0"
        },
        {
            "attribute_code": "url_key",
            "value": "configurable-product"
        },
        {
            "attribute_code": "tax_class_id",
            "value": "2"
        }
    ]
}

Request and response parameters

Response attributes:
  • id (Change type manually!) TBD.
  • sku (Change type manually!) TBD.
  • name (Change type manually!) TBD.
  • attribute_set_id (Change type manually!) TBD.
  • price (Change type manually!) TBD.
  • status (Change type manually!) TBD.
  • visibility (Change type manually!) TBD.
  • type_id (Change type manually!) TBD.
  • created_at (Change type manually!) TBD.
  • updated_at (Change type manually!) TBD.
  • extension_attributes (Change type manually!) TBD.
  • product_links (Change type manually!) TBD.
  • options (Change type manually!) TBD.
  • media_gallery_entries (Change type manually!) TBD.
  • tier_prices (Change type manually!) TBD.
  • custom_attributes (Change type manually!) TBD.

wb-products-configurable

GET /default/V1/wb/products/configurable

Request

This call does not accept a request body.

Response

{
    "id": 1001,
    "sku": "configurable",
    "name": "Configurable Product",
    "attribute_set_id": 4,
    "price": 0,
    "status": 1,
    "visibility": 4,
    "type_id": "configurable",
    "created_at": "2017-11-24 10:45:54",
    "updated_at": "2017-11-24 10:45:54",
    "extension_attributes": {
        "stock_item": {
            "item_id": 2100,
            "product_id": 1001,
            "stock_id": 1,
            "qty": 0,
            "is_in_stock": true,
            "is_qty_decimal": false,
            "show_default_notification_message": false,
            "use_config_min_qty": true,
            "min_qty": 0,
            "use_config_min_sale_qty": 1,
            "min_sale_qty": 1,
            "use_config_max_sale_qty": true,
            "max_sale_qty": 10000,
            "use_config_backorders": true,
            "backorders": 0,
            "use_config_notify_stock_qty": true,
            "notify_stock_qty": 1,
            "use_config_qty_increments": true,
            "qty_increments": 0,
            "use_config_enable_qty_inc": true,
            "enable_qty_increments": false,
            "use_config_manage_stock": true,
            "manage_stock": true,
            "low_stock_date": null,
            "is_decimal_divided": false,
            "stock_status_changed_auto": 0
        },
        "configurable_product_options": [
            {
                "id": 325,
                "attribute_id": "172",
                "label": "Test Configurable",
                "position": 0,
                "values": [
                    {
                        "value_index": 247
                    },
                    {
                        "value_index": 248
                    }
                ],
                "product_id": 1001
            }
        ],
        "configurable_product_links": [
            10,
            20
        ],
        "configurable_products_info": [
            {
                "sku": "simple_10",
                "id": 10,
                "attributes": [
                    {
                        "code": "test_configurable",
                        "label": "Option 1",
                        "value": "247"
                    }
                ]
            },
            {
                "sku": "simple_20",
                "id": 20,
                "attributes": [
                    {
                        "code": "test_configurable",
                        "label": "Option 2",
                        "value": "248"
                    }
                ]
            }
        ]
    },
    "product_links": [],
    "options": [],
    "media_gallery_entries": [],
    "tier_prices": [],
    "custom_attributes": [
        {
            "attribute_code": "category_ids",
            "value": []
        },
        {
            "attribute_code": "options_container",
            "value": "container2"
        },
        {
            "attribute_code": "required_options",
            "value": "0"
        },
        {
            "attribute_code": "has_options",
            "value": "0"
        },
        {
            "attribute_code": "url_key",
            "value": "configurable-product"
        },
        {
            "attribute_code": "tax_class_id",
            "value": "2"
        }
    ]
}

Request and response parameters

Response attributes:
  • id (Change type manually!) TBD.
  • sku (Change type manually!) TBD.
  • name (Change type manually!) TBD.
  • attribute_set_id (Change type manually!) TBD.
  • price (Change type manually!) TBD.
  • status (Change type manually!) TBD.
  • visibility (Change type manually!) TBD.
  • type_id (Change type manually!) TBD.
  • created_at (Change type manually!) TBD.
  • updated_at (Change type manually!) TBD.
  • extension_attributes (Change type manually!) TBD.
  • product_links (Change type manually!) TBD.
  • options (Change type manually!) TBD.
  • media_gallery_entries (Change type manually!) TBD.
  • tier_prices (Change type manually!) TBD.
  • custom_attributes (Change type manually!) TBD.

wb-products-configurable

GET /default/V1/wb/products/configurable

Request

This call does not accept a request body.

Response

{
    "id": 1,
    "sku": "configurable",
    "name": "Configurable Product",
    "attribute_set_id": 4,
    "price": 0,
    "status": 1,
    "visibility": 4,
    "type_id": "configurable",
    "created_at": "2017-11-24 11:10:23",
    "updated_at": "2017-11-24 11:10:23",
    "extension_attributes": {
        "website_ids": [
            1
        ],
        "category_links": [
            {
                "position": 0,
                "category_id": "2"
            }
        ],
        "stock_item": {
            "item_id": 2049,
            "product_id": 1,
            "stock_id": 1,
            "qty": 0,
            "is_in_stock": true,
            "is_qty_decimal": false,
            "show_default_notification_message": false,
            "use_config_min_qty": true,
            "min_qty": 0,
            "use_config_min_sale_qty": 1,
            "min_sale_qty": 1,
            "use_config_max_sale_qty": true,
            "max_sale_qty": 10000,
            "use_config_backorders": true,
            "backorders": 0,
            "use_config_notify_stock_qty": true,
            "notify_stock_qty": 1,
            "use_config_qty_increments": true,
            "qty_increments": 0,
            "use_config_enable_qty_inc": true,
            "enable_qty_increments": false,
            "use_config_manage_stock": true,
            "manage_stock": true,
            "low_stock_date": null,
            "is_decimal_divided": false,
            "stock_status_changed_auto": 0
        },
        "configurable_product_options": [
            {
                "id": 297,
                "attribute_id": "156",
                "label": "Test Configurable",
                "position": 0,
                "values": [
                    {
                        "value_index": 215
                    },
                    {
                        "value_index": 216
                    }
                ],
                "product_id": 1
            }
        ],
        "configurable_product_links": [
            10,
            20
        ],
        "configurable_products_info": [
            {
                "sku": "simple_10",
                "id": 10,
                "attributes": [
                    {
                        "code": "test_configurable",
                        "label": "Option 1",
                        "value": "215"
                    }
                ]
            },
            {
                "sku": "simple_20",
                "id": 20,
                "attributes": [
                    {
                        "code": "test_configurable",
                        "label": "Option 2",
                        "value": "216"
                    }
                ]
            }
        ]
    },
    "product_links": [],
    "options": [],
    "media_gallery_entries": [],
    "tier_prices": [],
    "custom_attributes": [
        {
            "attribute_code": "category_ids",
            "value": [
                "2"
            ]
        },
        {
            "attribute_code": "options_container",
            "value": "container2"
        },
        {
            "attribute_code": "required_options",
            "value": "0"
        },
        {
            "attribute_code": "has_options",
            "value": "0"
        },
        {
            "attribute_code": "url_key",
            "value": "configurable-product"
        },
        {
            "attribute_code": "tax_class_id",
            "value": "2"
        }
    ]
}

Request and response parameters

Response attributes:
  • id (Change type manually!) TBD.
  • sku (Change type manually!) TBD.
  • name (Change type manually!) TBD.
  • attribute_set_id (Change type manually!) TBD.
  • price (Change type manually!) TBD.
  • status (Change type manually!) TBD.
  • visibility (Change type manually!) TBD.
  • type_id (Change type manually!) TBD.
  • created_at (Change type manually!) TBD.
  • updated_at (Change type manually!) TBD.
  • extension_attributes (Change type manually!) TBD.
  • product_links (Change type manually!) TBD.
  • options (Change type manually!) TBD.
  • media_gallery_entries (Change type manually!) TBD.
  • tier_prices (Change type manually!) TBD.
  • custom_attributes (Change type manually!) TBD.

Response codes

Normal response codes:
  • SUCCESS_CODE - SUCCESS_DESCRIPTION
Error response codes:
  • ERROR_CODE - ERROR_DESCRIPTION