Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Getting a list of order rejection reasons

Query example

Code Block
languageyml
GET https://delivery.ucs.ru/orders/api/v1/rejectionReasons

...

The response in case of a successful order rejection: 200 OK.

Order rejection

Query

false
Info
icon
Code Block
PUT https://delivery.ucs.ru/orders/api/v1/orders/{orderID}/reject



Content-Type: application/json

Query example 

Code Block
languageyml
{
   "rejectionReasonID": "7ca12506-0c20-4417-88b2-2a5b0d237770",
   "rejectionReasonText": "Rejected by guest"
}

...

Parameter
Description
rejectionReasonIDstringOrder rejection reason ID
rejectionReasonTextstring

Text of order rejection reason

The order ID (orderID)  is is used as an IDentifying identifying code.

The query may also contain the restaurant ID (restaurantID) as related information.

...