5.06. Обновить информацию о мерчанте
Обновить информацию о мерчанте
Request
POST
b2b.taxi.tst.yandex.net/api/b2b/platform/merchant/update
Тестовое окружение
POST
b2b-authproxy.taxi.yandex.net/api/b2b/platform/merchant/update
Продакшен-окружение
Query parameters
|
Name |
Description |
|
merchant_id* |
Type: string ID мерчанта |
Body
application/json
{
"legal_name": "string",
"site_url": "string",
"contact": {
"name": "string",
"representative_name": "string",
"phone": "string",
"email": "string"
}
}
|
Name |
Description |
|
contact* |
Type: MerchantContactInfo Данные контактного лица |
|
legal_name* |
Type: string Официальное название |
|
site_url* |
Type: string URL сайта мерчанта |
MerchantContactInfo
Данные контактного лица
|
Name |
Description |
|
email* |
Type: string Адрес электронной почты |
|
name* |
Type: string ФИО |
|
phone* |
Type: string Номер телефона |
|
representative_name |
Type: string ФИО представителя. Используется для электронной подписи |
Responses
200 OK
OK
400 Bad Request
Некорректный запрос
Body
application/json
{
"code": "string",
"message": "string",
"details": {
"invalid_fields": [
"string"
]
}
}
|
Name |
Description |
||
|
code* |
Type: string |
||
|
message* |
Type: string |
||
|
details |
Type: object
Детали ошибки |
404 Not Found
Мерчант не найден
Body
application/json
{
"code": "string",
"message": "string"
}
|
Name |
Description |
|
code* |
Type: string Код ошибки |
|
message* |
Type: string Сообщение ошибки |
No longer supported, please use an alternative and newer version.