Gets order items request validation information.
Gets order items request validation information. Validation is asynchronously, as it can take a long time. The user must wait for the operation status to be either success or error.
HTTP Request
GET https://courier.yandex.ru/companies/{company_id}/orders/-/items-validations/{order_items_validation_id}
Path Parameters
company_id * | integer The ID of the company. |
order_items_validation_id * | string The ID of order items validation request. It is obtained in response to a request to add a list of items for validation. |
* Required parameter
Responses
Code 200
Information about the asynchronous validation of the request to add items to orders.
{ "created_at": { "text": string, "value": number }, "error": { "error_type": string, "per_order_errors": [ { "description": string, "error_type": string, "order_id": integer } ], "total_error": string }, "status": string, "updated_at": { "text": string, "value": number }, "warning": { "per_order_warnings": [ { "description": string, "order_id": integer, "warning_type": string } ] } }
Copied to clipboard
Representation
Fields
created_at * | object |
created_at. | string The time of request creation, in ISO 8601 format. Example - '2018-09-06T10:15:00+00:00'. |
created_at. | number UNIX timestamp of request creation. |
error | object Will be presented in case of status = error. |
error. | string The type of error.
|
error. | array Descriptions of error related to the certain orders. |
error. | string Error description. |
error. | string The type of error. Allowed values
|
error. | integer The ID of the order. |
error. | string Description of error related to the whole request. For exapmple if falied JSON parsing. |
status * | string Status of request processing.
|
updated_at * | object |
updated_at. | string The time of request update, in ISO 8601 format. Example - '2018-09-06T10:15:00+00:00'. |
updated_at. | number UNIX timestamp of request update. |
warning | object Will be presented in case of status = warning. |
warning. | array Descriptions of warnings related to the certain orders. |
warning. | string Warning description. |
warning. | integer The ID of the order. |
warning. | string Warning type.
|
created_at * | object |
created_at. | string The time of request creation, in ISO 8601 format. Example - '2018-09-06T10:15:00+00:00'. |
created_at. | number UNIX timestamp of request creation. |
error | object Will be presented in case of status = error. |
error. | string The type of error.
|
error. | array Descriptions of error related to the certain orders. |
error. | string Error description. |
error. | string The type of error. Allowed values
|
error. | integer The ID of the order. |
error. | string Description of error related to the whole request. For exapmple if falied JSON parsing. |
status * | string Status of request processing.
|
updated_at * | object |
updated_at. | string The time of request update, in ISO 8601 format. Example - '2018-09-06T10:15:00+00:00'. |
updated_at. | number UNIX timestamp of request update. |
warning | object Will be presented in case of status = warning. |
warning. | array Descriptions of warnings related to the certain orders. |
warning. | string Warning description. |
warning. | integer The ID of the order. |
warning. | string Warning type.
|
* Required parameter
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.