Getting a list of order rejection reasons
Query example
Info | ||
---|---|---|
| ||
...
The response in case of a successful order rejection: 200 OK.
Order rejection
Query
Info | ||
---|---|---|
| ||
PUT https://delivery.ucs.ru/orders/api/v1/orders/{orderId}/reject Content-Type: application/json |
...
Code Block | ||
---|---|---|
| ||
{ "rejectionReasonId": "", "rejectionReasonText": "" } |
Parameters description
Parameter | Description | |
---|---|---|
rejectionReasonId | string | Order rejection reason id |
rejectionReasonText | string | Text of order rejection reason |
The order id (orderId) is used as an identifying code.
...