v1

latestOpenAPI 3.0.3Apache 2.02026-07-2478177179.1 KB
Order amendments

This endpoint will notify all the eligible amendments from Grubtech to the aggregator platform if the platform supports getting confirmation from the customer for the suggested amendments.

post/orders/{orderId}/amendments

Path parameters

orderIdstring required

order id

Request body

amendmentIdstring

Unique identifier to identify the amendment request

timeToConfirmstring

Suggested amendments should be confirmed before the defined time. Otherwise, the order will be cancelled from the Grubtech platform and represented in ISO 8601 format.

Example request

{
  "timeToConfirm": "2021-06-02T09:10:18.020Z"
}

Response

Successful response