Skip to main content

Set Up Decorative Plinths through API

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

Set Up the Dimensions of the Decorative Plinth​

ParameterTypePossible valuesDefault value
widthreal[0 ;∞]2100
depthreal[0 ;∞]10
heightreal[0 ;∞]80

"width": {
"typeID": 1,
"values": [
2210
],
"editable": null,
"translation": {
"name": {
"1": "Longueur",
"2": "Width",
"3": "Anchura",
"4": "Breite"
}
},
"defaultValue": 2210
}

Define Parameters on the Product​

Define regularPlinth​

regularPlinth defines the regular plinth product to add to the Bill of Material (BOM). Parameter for pricing only.

ParameterTypePossible valuesDefault value
regularPlinthProduct variationExternal dbIDExternal dbID

"regularPlinth": {
"ids": [
"68678"
],
"tags": [],
"typeID": 7,
"editable": null,
"nullable": false,
"translation": {
"name": {
"2": "regularPlinth"
}
},
"defaultValue": "68678"
}

Pricing​

"prices": [
{
"typePrice": "regular",
"price": 100,
"startDate": null,
"endDate": null,
"currency": "EUR",
}
]

Define plinthOption on the Cabinet​

"plinthOption": {
"typeID": 3,
"editable": null,
"translation": {
"name": {
"2": "Plinth Option"
}
},
"defaultValue": 1
}


leftLegOption for Decorative Plinths​


"leftLegOption": {
"typeID": 2,
"values": [
1,
2,
3,
4,
5,
6,
7
],
"editable": null,
"translation": {
"name": {
"2": "leftLegOption"
},
"values": {
"2": {}
}
},
"defaultValue": 1
}