|
Parameters |
|
Description |
Passed |
Returned |
Method returns details of specified account. Contact information returned (name, e-mail, phone, and fax) depends on account type. If account type is Company, administrative contact information is returned. If account type is Personal, personal contact information is returned.
Syntax below is given for company account. |
1 |
24 |
Syntax
ItemResult BM::AccountDetailsGet_API(
Int AccountID.
)
returns
Int AccountID - account ID;
Int VendorAccountID - vendor account ID;
Str(80) CompanyName - company name for Company account type, first name + last name for Personal account type;
Str(80) Address1 - account address 1 (line 1/2);
Str(80) Address2 - account address 2 (line 2/2);
Str(40) City - account city;
Str(80) State - account state / province;
Str(10) Zip - account postal code;
Str(2) CountryID - account two-letter country code;
Str(1024) PostalAddress - account postal address in free form.
Str(30) accFName - first name (administrative contact);
Str(30) accMName - middle name (administrative contact);
Str(30) accLName - last name (administrative contact);
Str(100) accEmail - e-mail (administrative contact);
Str(4) accPhCountryCode - phone country code (administrative contact);
Str(10) accPhAreaCode - phone area code (administrative contact);
Str(20) accPhNumber - phone number (administrative contact);
Str(10) accPhExtention - phone extension (administrative contact);
Str(4) accFaxCountryCode - fax country code (administrative contact);
Str(10) accFaxAreaCode - fax area code (administrative contact);
Str(20) accFaxNumber - fax number (administrative contact);
Str(10) accFaxExtention - fax extension (administrative contact);
Int CreationDate - account creation time (Unix time);
Int TaxStatus - account type: 1- personal; 2 - company.
Special Notes
Int AccountID - ID of account to update.