Deletes the item with specified item ID.
Deletes the item with specified item ID.
HTTP Request
DELETE https://courier.yandex.ru/api/v1/companies/{company_id}/orders/{order_id}/items/{item_id}
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. |
item_id * | integer Item ID. |
* Required parameter
Responses
Code 200
Success.
{ "comment": string, "description": string, "id": string, "number": string, "price": string, "total_count": integer, "undelivered_count": integer }
Copied to clipboard
Representation
Fields
comment | string Comment. |
description * | string Description of the item. |
id * | string ID of the item. |
number * | string Item number. It is the identifier of the item created by client. Must be unique within a single order. |
price * | string Цена одной единицы товара. |
total_count * | integer Общее количество товаров. Minimum value: |
undelivered_count * | integer Количество недоставленных товаров. Minimum value: |
comment | string Comment. |
description * | string Description of the item. |
id * | string ID of the item. |
number * | string Item number. It is the identifier of the item created by client. Must be unique within a single order. |
price * | string Цена одной единицы товара. |
total_count * | integer Общее количество товаров. Minimum value: |
undelivered_count * | integer Количество недоставленных товаров. Minimum value: |
* Required parameter
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.