Set Up Decorative Legs through API
➡️ See the API Reference documentation 🔗 for detailed information.
Set Up the Dimensions of the Leg
Parameter Name | Parameter Type | Default Value | Possible Values |
---|---|---|---|
width | real | – | [0;∞] |
depth | real | – | [0;∞] |
height | real | – | [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
}