Skip to main content

Set Up Decorative Legs through API

➑️ See the API Reference documentation πŸ”— for detailed information.

Set Up the Dimensions of the Leg​

Parameter NameParameter TypeDefault ValuePossible Values
widthreal–[0;∞]
depthreal–[0;∞]
heightreal–[0;∞]
"width": {
"typeID": 1,
"values": [
133
],
"editable": null,
"translation": {
"name": {
"1": "Longueur",
"2": "Width",
"3": "Anchura",
"4": "Breite"
},
"values": {
"2": {
"133": "133"
}
}
},
"defaultValue": 133
}

Product Rule​

Set a product rule of type "Chain" that will define a dynamic switch between regular legs and decorative legs.


{
"name": "leg / legAssembly (for deco legs)",
"definition": {
"version": 1,
"parameters": [
{
"paramID": "leg",
"paramType": 7
},
{
"paramID": "legAssembly",
"paramType": 7
}
],
"sequencePolicy": 0,
"compatibilities": [
[
{
"ids": [
"13805",
"17493"
]
},
{
"ids": [
"13844"
]
}
],
[
{
"ids": [
"71028"
]
},
{
"ids": [
"71029"
]
}
]
]
},
"ruleTypeID": 2,
"key": null,
"isDeleted": false
}