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.
HTTP Request
POST https://courier.yandex.ru/api/v1/companies/{company_id}/app-user
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
Request Body
{ "login": string }
Copied to clipboard
Representation
Collapse all
Fields
login * | string User mobile phone number in E.164 format (starting with + and without spaces or dashes). For example, +79ххххххххх. |
login * | string User mobile phone number in E.164 format (starting with + and without spaces or dashes). For example, +79ххххххххх. |
* Required parameter
Responses
Code 200
Information about the user has been saved.
Code 401
Authorization failed. Send the correct OAuth token in the authorization header.
Code 422
Incorrect input.