Gets multiple contractor numbers
Gets a list of contractors in the company.
HTTP Request
GET https://courier.yandex.ru/api/v1/companies/{company_id}/numbers
Path Parameters
company_id * | integer The ID of the company that is used in requests to the Track & Trace API. |
company_id * | integer The ID of the company that is used in requests to the Track & Trace API. |
* Required parameter
Responses
Code 200
Returns a list of contractors with corresponding numbers.
[ { "id": integer, "name": string, "number": string } ]
Copied to clipboard
Representation
Collapse all
Fields
name | string Company name. |
number * | string Company number. |
id | integer Company ID used in requests to the Track & Trace API. |
name | string Company name. |
number * | string Company number. |
id | integer Company ID used in requests to the Track & Trace API. |
* 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.