Substitutions by PLU
Deliverect will send a singular pluwithin the parameters of a provided webhook URL. In response, we'd expect an array of items suitable to be substituted.
Definitions
| Attribute | Meaning | Type |
|---|---|---|
plu |
Unique identifier of the item substitute available | string |
quantity |
Number of the substituted items available | integer |
name |
Name of the item substitute available | string |
price |
Price of the item substitute available | integer |
Response examples (200)
{
"substituteItems": [
{
"plu": "COLA1",
"quantity": 1,
"name": "Cola",
"price": 200
}
]
}
Response examples (400)
{}