modify

Edit user parameters with the “website owner” type.

Request format

https://adfox.yandex.com/api/v1
  ? object=webmaster
  & action=modify
  & objectID=<integer>
  & [account=<string>]
  & [eMail=<string>]
  & [company=<string>]
  & [firstName=<string>]
  & [lastName=<string>]
  & [country=<string>]
  & [state=<string>]
  & [city=<string>]
  & [ZIPCode=<string>]
  & [address1=<string>]
  & [address2=<string>]
  & [phone=<string>]
  & [fax=<string>]
  & [WMZ=<string>]
  & [WMZProtection=<string>]
  & [YandexMoney=<string>]
  & [comments=<string>]

objectID*

The ID of the object that the action is performed on.

account

User account. The account name must be unique within the Adfox system.

It can contain Russian and Latin letters, numbers, and any symbols.

eMail

The email address that the user's access is registered to.

company

Company name.

firstName

User's first name.

lastName

User's last name.

country

Country.

state

Region.

city

City.

ZIPCode

Postal code.

address1

Address.

address2

Address (continued).

phone

Phone number.

fax

Fax.

WMZ

WebMoney wallet.

WMZProtection

WebMoney wallet security code.

YandexMoney

Yandex Money wallet number.

comments

Comments.

* Required

Response format

<response>
<status>
  <code>{integer}</code>
</status>
</response>

Response parameters

code

Request processing status. For the key, see Error handling.

Sample request and response

Request:

https://adfox.yandex.com/api/v1?object=webmaster&action=modify&objectID=543&phone=84993334455

Response:

<response>
<status>
  <code>0</code>
</status>
</response>

Other actions with the object

See also other actions with the webmaster object:

Previous