Deletes all items associated with the order
Deletes all items associated with the order.
Request
DELETE
https://courier.yandex.ru/api/v1/companies/{company_id}/orders/{order_id}/items
Path parameters
Name |
Description |
company_id* |
Type: integer The ID of the company. |
order_id* |
Type: integer Order ID that is used in requests to the Track & Trace API. |
Responses
200 OK
Success.
400 Bad Request
Invalid parameters were passed.
401 Unauthorized
Authorization failed. Send the correct OAuth token in the authorization header.
403 Forbidden
You do not have access to this object.
422 Unprocessable Entity
Incorrect input.
504 Gateway Timeout
Server error during request processing.