Substitute Order Items

The GET /orders/{orderId}/substitute/{OrderItemLineId} endpoint is designed to allow Grubtech to retrieve eligible substitutions for a specific item in an order. This feature is particularly useful when the aggregator platform supports substitutions, allowing customers to choose alternative items if their initial selection is unavailable or if they prefer a different option. By providing a list of eligible substitutions, Grubtech enhances customer satisfaction and maintains flexibility in order fulfillment.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

order id

string
required

Unique Identifier for the line for the ordered item.

Query Params
integer
required

Keyword describing the desired item to be used as a substitute.

integer
required

Number of substitutions to return

integer
required

Quantity to substitute

Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json