Sectional Product Structure¶
Let’s look closer at the configuration object.
{
"elements": {
"6809_580156618": {
"index": "1",
"element_id": "6809",
"element_sku": "chaise_elft_xowin",
"neighbours": {"right": "6800_1851043400", "left": "6760_-1738214140"},
"params": {
"frame-fabirc_zk31": "7691-11",
"scatterback-fabric_bmjrr": "7693-11",
"welts-fabric_xyik3": "7693-11",
"optional-pillow-fill_g393n": "lux-down_yv102",
"back-cushion-quantity_1inev": "two_o9z7w",
"seat-cushions-fill_25n31": "ultra-down_unxow",
"back-center-scatterback-pillows-fringe_m50qu": "400-21",
"pillows-20-inch-pillow-fabric-both-sides_73lyv": "7693-11"
}
},
"6760_-1738214140": {
"element_id": "6760",
"element_sku": "chaise_elft_xowin",
"neighbours": {"right": "6809_580156618"},
"params": {
"frame-fabric_zk31": "7691-11",
"scatterback-fabric_bmjrr": "7693-11",
"welts-fabric_xyik3": "7693-11",
"optional-pillow-fill_g393n": "lux-down_yv102",
"back-cushion-quantity_1inev": "two_o9z7w",
"seat-cushions-fill_25n31": "ultra-down_unxow",
"back-center-scatterback-pillows-fringe_m50qu": "400-21",
"pillows-fabric-both-sides_73lyv": "7693-11"
}
},
"product_id": "4259"}
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).
params - key/value (attribute/choice) dictionary that contains selected choices for every attribute for the current configuration.