Specify items for return.
Specify items for return.
HTTP Request
POST https://courier.yandex.ru/companies/{company_id}/orders/{order_id}:return
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. |
* Required parameter
Request Body
[ { "comment": string, "item_id": string, "undelivered_count": integer } ]
Copied to clipboard
Representation
Collapse all
Fields
comment | string Comment. |
item_id * | string ID of the item. |
undelivered_count * | integer Количество недоставленных товаров. Minimum value: |
* Required parameter
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.