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β
Define regularPlinthβ
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",
    }
]
Define plinthOption on the Cabinetβ
"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
}