Set Up Cornices through API
➡️ See the API Reference documentation 🔗 for detailed information.
Set Up the Dimensions
width is a mandatory parameter used for price calculation.
Parameter | Type | Possible values | Default value |
---|---|---|---|
width | Continuous length | [0 ;∞] | 0 ≤ 2210 ≤ ∞ |
depth | Discrete length | [0 ;∞] | 20 |
height | Discrete length | [0 ;∞] | 60 |
"width": {
"max": null,
"min": 0,
"step": 1,
"typeID": 1,
"editable": null,
"translation": {
"name": {
"1": "Longueur",
"2": "Width",
"3": "Anchura",
"4": "Breite"
}
},
"defaultValue": 2210
}
Set Up the Material
Parameter | Type | Possible values |
---|---|---|
material | string | External dbID |
"material"{
"ids": [
"2523"
],
"tags": [],
"typeID": 6,
"editable": null,
"nullable": false,
"translation": {
"name": {
"2": "material"
}
},
"defaultValue": "2523"
},
Set Up the Horizontal Section
Parameter | Type | Possible values | Default value |
---|---|---|---|
corniceHorizontalSection | Product variation | External dbID | External dbID |
"corniceHorizontalSection": {
"ids": [
"14175"
],
"tags": [],
"typeID": 7,
"editable": null,
"nullable": false,
"translation": {
"name": {
"2": "corniceHorizontalSection"
}
},
"defaultValue": "14175"
}
Pricing
"prices": [
{
"typePrice": "regular",
"price": 100,
"startDate": null,
"endDate": null,
"currency": "EUR",
}
]
Deploy
Setting the corniceOption
to 'true' in the top-assembly (cabinet) datasheet will enable a choice of cornices in the planner corresponding to products available in the catalog.
"corniceOption": {
"typeID": 3,
"editable": null,
"translation": {
"name": {
"2": "corniceOption"
}
},
"defaultValue": 0
}
To allow the customer to enable or disable the extension of the cornice on the left and/or right sides of the cabinet, set leftCorniceBack
and rightCorniceBack
with 'true' as default value.
"leftCorniceBack": {
"typeID": 3,
"editable": "RW",
"translation": {
"name": {
"2": "leftCorniceBack"
}
},
"defaultValue": 0
}
"rightCorniceBack": {
"typeID": 3,
"editable": "RW",
"translation": {
"name": {
"2": "rightCorniceBack"
}
},
"defaultValue": 0
}