Sectional Product Structure¶
Let’s look closer at the configuration object.
{
"elements": {
"LAF Sofa": {
"index": "1",
"element_id": "17350",
"element_sku": "sofa_left_xowin",
"neighbours": {"right": "Square Corner"},
"variables": {
"3d_metal_finish": "3d_metal_finish_silver",
"demo_arm_options": "demo_key_track_straight",
"demo_back_cushion_fill": "demo_blendown_back_pillow",
"demo_back_options": "demo_loose_t_boxed",
"demo_base_finish": "demo_base_finish_dune",
"demo_base_options": "demo_back_style_block",
"demo_fabric": "demo_1225_91_fabric",
"demo_nailhead_finish": "demo_nails_antique_brass",
"demo_nailheads": "demo_nailheads_none",
"demo_number_of_seat_cushions": "demo_three_cushions",
"demo_seat_cushion_fill_options": "demo_casual_comfort_cushion",
"demo_seat_style": "demo_t_cushion_seat_style",
"demo_standard_throw_pillow_18_fabric": "demo_1302_92_fabric",
"demo_tufting": "demo_tufting_plain",
"demo_welts": "demo_welts_add",
"standard_throw_pillow_20_fabric": "demo_8130_93_fabric",
}
},
"RAF Sofa": {
"element_id": "17351",
"element_sku": "sofa_right_xowin",
"neighbours": {"left": "Square Corner"},
"variables": {
"3d_metal_finish": "3d_metal_finish_silver",
"demo_arm_options": "demo_key_track_straight",
"demo_back_cushion_fill": "demo_blendown_back_pillow",
"demo_back_options": "demo_loose_t_boxed",
"demo_base_finish": "demo_base_finish_dune",
"demo_base_options": "demo_back_style_block",
"demo_fabric": "demo_1225_91_fabric",
"demo_nailhead_finish": "demo_nails_antique_brass",
"demo_nailheads": "demo_nailheads_none",
"demo_number_of_seat_cushions": "demo_three_cushions",
"demo_seat_cushion_fill_options": "demo_casual_comfort_cushion",
"demo_seat_style": "demo_t_cushion_seat_style",
"demo_standard_throw_pillow_18_fabric": "demo_1302_92_fabric",
"demo_tufting": "demo_tufting_plain",
"demo_welts": "demo_welts_add",
"standard_throw_pillow_20_fabric": "demo_8130_93_fabric",
}
},
"Square Corner": {
"element_id": "17559",
"element_sku": "square_both_xowin",
"neighbours": {"left": "LAF Sofa", "right": "RAF Sofa"},
"variables": {
"3d_metal_finish": "3d_metal_finish_silver",
"demo_arm_options": "demo_key_track_straight",
"demo_back_cushion_fill": "demo_blendown_back_pillow",
"demo_back_options": "demo_loose_t_boxed",
"demo_base_finish": "demo_base_finish_dune",
"demo_base_options": "demo_back_style_block",
"demo_fabric": "demo_1225_91_fabric",
"demo_nailhead_finish": "demo_nails_antique_brass",
"demo_nailheads": "demo_nailheads_none",
"demo_number_of_seat_cushions": "demo_three_cushions",
"demo_seat_cushion_fill_options": "demo_casual_comfort_cushion",
"demo_seat_style": "demo_t_cushion_seat_style",
"demo_standard_throw_pillow_18_fabric": "demo_1302_92_fabric",
"demo_tufting": "demo_tufting_plain",
"demo_welts": "demo_welts_add",
"standard_throw_pillow_20_fabric": "demo_8130_93_fabric",
}
},
"product_id": "12402"}
Take a look at each key:
product_id - this is an ID of a configurable product. One configurable product can have multiple configurations.
- elements - in this object, you will find the configuration of each section. Each section is identified by Element Instance ID.
element_id - this is a section ID created by Intiaro.
element_sku* - we can create additional descriptions of a section using a custom scenario. This field might be used to integrate with an e-commerce system.
neighbours - section that is connected and type of connections (left, right).
variables - key/value (attribute/choice) dictionary that contains selected choices for every attribute for the current configuration.