Specify items for return.

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

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.

company_id *

integer

The ID of the company.

order_id *

integer

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

Request Body

[
  {
    "comment": string,
    "item_id": string,
    "undelivered_count": integer
  }
]
Copied to clipboard

Representation

Collapse all
Expand all

Fields

comment

string

Comment.

item_id *

string

ID of the item.

undelivered_count *

integer

Количество недоставленных товаров.

Minimum value: 0.

comment

string

Comment.

item_id *

string

ID of the item.

undelivered_count *

integer

Количество недоставленных товаров.

Minimum value: 0.

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.