Versions Compared

Key

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

Getting a list of order rejection reasons

Query example

Info
iconfalse

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

...

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

Order rejection

Query

Info
iconfalse

PUT https://delivery.ucs.ru/orders/api/v1/orders/{orderId}/reject

Content-Type: application/json

...

Code Block
languageyml
{
   "rejectionReasonId": "",
   "rejectionReasonText": ""
}

Parameters description

Parameter
Description
rejectionReasonIdstringOrder rejection reason id
rejectionReasonTextstring

Text of order rejection reason

The order id (orderId) is used as an identifying code.

...