Deletes all items associated with the order.

  1. HTTP Request
  2. Path Parameters
  3. Responses
    1. Code 200
    2. Code 400
    3. Code 401
    4. Code 403
    5. Code 422
    6. Code 504

Deletes all items associated with the order.

HTTP Request

DELETE https://courier.yandex.ru/api/v1/companies/{company_id}/orders/{order_id}/items

Path Parameters

company_id *

integer

The ID of the company.

order_id *

integer

Order ID that is used in requests to the Track & Trace API.

company_id *

integer

The ID of the company.

order_id *

integer

Order ID that is used in requests to the Track & Trace API.

Responses

Code 200

Success.

Code 400

Invalid parameters were passed.

Code 401

Authorization failed. Send the correct OAuth token in the authorization header.

Code 403

You do not have access to this object.

Code 422

Incorrect input.

Code 504

Server error during request processing.