Adds the phone number of the courier who will work with the mobile application
Adds the phone number of the courier who will work with the mobile application.
Request
POST
https://courier.yandex.ru/api/v1/companies/{company_id}/app-user
Path parameters
Name |
Description |
company_id* |
Type: integer The ID of the company that is used in requests to the Track & Trace API. |
Body
application/json
{
"login": "string"
}
Name |
Description |
login* |
Type: string User mobile phone number in E.164 format (starting with + and without spaces or dashes). For example, +79ххххххххх. |
Responses
200 OK
Information about the user has been saved.
401 Unauthorized
Deprecated
Authorization failed. Send the correct OAuth token in the authorization header.
422 Unprocessable Entity
Deprecated
Incorrect input.
No longer supported, please use an alternative and newer version.