Order amendments
GET /orders/{orderId}/substitute/{OrderItemLineId}
Grubtech will retrieve eligible substitutions for an item if the aggregator platform supports this feature.
Request
- Base URLhttps://virtserver.swaggerhub.com/GrubTech/grubtech-grocery-integration-apis/1.0.0
- URLhttps://virtserver.swaggerhub.com/GrubTech/grubtech-grocery-integration-apis/1.0.0/orders/{orderId}/substitute/{OrderItemLineId}
- AuthAPI key in header X-API-KEY
Path parameters
orderIdstring required
order id
OrderItemLineIdstring required
Unique Identifier for the line for the ordered item.
Query parameters
needleinteger required
Keyword describing the desired item to be used as a substitute.
limitinteger required
Number of substitutions to return
quantityinteger required
Quantity to substitute
Response
Successful response
Example response
[
{
"name": {
"translations": {
"en-us": "grubtech"
}
},
"unitPrice": 1200
}
]Changes
No recorded changes to this operation across all 1 revision of this API.