Contents
Retrieving preparation methods
Preparation methods can be retrieved through the preparationMethodList of an article. This might look like this:
[product] => {
[productNumber] => 204,
[articleList] => [
[article] => {
[articleNumber] => 240,
[description] => "PATAT",
[priceIncl] => 250,
[preparationMethodList] => [
[preparationMethod] => {
[articleNumber] => 298,
[description] => "MAYO",
[priceIncl] => 60,
[groupNumber] => 1,
[groupName] => "SAUS KEUZE"
},
[preparationMethod] => {
[articleNumber] => 299,
[description] => "SPECIAAL",
[priceIncl] => 100,
[groupNumber] => 1,
[groupName] => "SAUS KEUZE"
}
]
}
]
}
Using preparation methods
To add preparation methods to a line, simply add the desired items to the preparationList of a line. This might look like this:
[order] => {
[lineList] => [
[line] => {
[articleNumber] => 240,
[preparationMethodList] => [
[preparationMethod] => {
[articleNumber] => 298,
}
]
}
]
}
Add a Text only preparation method
Its not required to use an article as a preparation method. If you just need a simple text line you only need to send te field text in de preparationMethod.
[order] => {
[lineList] => [
[line] => {
[articleNumber] => 240,
[preparationMethodList] => [
[preparationMethod] => {
[description] => "Speciaal"
}
]
}
]
}