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
}