Set Up Plinths through API
β‘οΈ See the API Reference documentation π for detailed information.
Set Up the Dimensions of the 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β
plinthPositionType
Parameterβ
Parameter | Type | Possible values | Default value |
---|---|---|---|
plinthPositionType | string | onLeg / onFrame / onFront | onLeg |
"plinthPositionType": {
"typeID": 4,
"values": [
"onLeg"
],
"editable": null,
"translation": {
"name": {
"2": "Plinth position type"
},
"values": {
"2": "Fixed on legs"
}
},
"defaultValue": "onLeg"
}
section
Parameterβ
Parameter | Type | Possible values | Default value |
---|---|---|---|
section | string | External dbID | External 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
}