Set Up Decorative Plinths through API
➡️ See the API Reference documentation 🔗 for detailed information.
Set Up the Dimensions of the Decorative Plinth
Parameter | Type | Possible values | Default value |
---|---|---|---|
width | real | [0 ;∞] | 2100 |
depth | real | [0 ;∞] | 10 |
height | real | [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
regularPlinth
Define regularPlinth
defines the regular plinth product to add to the Bill of Material (BOM). Parameter for pricing only.
Parameter | Type | Possible values | Default value |
---|---|---|---|
regularPlinth | Product variation | External dbID | External 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",
}
]
plinthOption
on the Cabinet
Define "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
}