pem.setAccountInfo

This method is supported by Operations starting from version 2.3.

Note: Starting from Operations version 2.4, the calling of this method is considered incorrect, if Operations is configured to gather account and account auth info from external system.

This method updates information of Operations Account.

This method has the following input parameters:

Name

Type

Short Description

account_id

int

ID of an Account. It identifies the Account to change.

person

struct

General information about contact person and company.

  • [title]

string

This is salutation like Mr. or Mrs., etc.

  • first_name

string

The first name of the contact person.

  • [middle_name]

string

The middle name of the contact person.

  • last_name

string

The last name of the contact person.

  • [company_name]

string

The name of the company.

address

struct

Address information.

  • street_name

string

Name of the street.

  • [house_num]

string

The number of the house.

  • [address2]

string

Second address.

  • zipcode

string

Postal code.

  • city

string

Name of the city.

  • country

string

This is the code of the country represented by two lowercase letters, like us, uk, etc.

  • state

string

Name of the state/province.

phone

struct

Contact phone number.

  • country_code

string

Country code part of the phone number.

  • area_code

string

Area code part of the phone number.

  • phone_num

string

The phone number itself.

  • ext_num

string

Extension to the phone number, if present.

[fax]

struct

Contact fax number.

  • country_code

string

Country code part of the fax number.

  • area_code

string

Area code part of the fax number.

  • phone_num

string

The fax number itself.

  • ext_num

string

Extension to the fax number, if present.

email

string

Contact E-mail address.

[note]

string

A note that contains some additional information about the customer (or about the reseller). The note maximum length is 255 symbols.

This method has no output parameters.