Skip to main content

Set Up Plinths through API

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

Set Up the Dimensions of the 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​

plinthPositionType Parameter​

ParameterTypePossible valuesDefault value
plinthPositionTypestringonLeg / onFrame / onFrontonLeg
"plinthPositionType": {
"typeID": 4,
"values": [
"onLeg"
],
"editable": null,
"translation": {
"name": {
"2": "Plinth position type"
},
"values": {
"2": "Fixed on legs"
}
},
"defaultValue": "onLeg"
}

section Parameter​

ParameterTypePossible valuesDefault value
sectionstringExternal dbIDExternal dbID
	"section": {
"ids": [
"68678"
],
"tags": [],
"typeID": 7,
"editable": null,
"nullable": false,
"translation": {
"name": {
"2": "section"
}
},
"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
}

Define the yFrontLegOffset on the Box​

"yFrontLegOffset": {
"typeID": 1,
"values": [
100
],
"editable": null,
"translation": {
"name": {
"2": "Y Front Leg Offset"
},
"values": []
},
"defaultValue": 100
}