API Accounts
API Accounts
API Accounts
Once processed the following variables will be sent to the confirmation page provided.
If no confirmation URL is provided, results will be provided on an XML format. See sample
below.
<xml>
<account>
<status>0</status>
<tid>20191004221345</tid>
<cod_control>16743</cod_control>
<box_number>VE16743</box_number>
<password>g4az6</password>
<email>name@customer.com</email>
</account>
</xml>
account_create, account_modify* Can’t be left blank
Nombre variable Tipo Descripción
account_id int(11) Agent ID, used only when the customer account must
be associated to an agent
company char(50) * Name of the company or Person
address1 char(50) * Main address field
address2 char(50) Additional address field
city char(50) * City
state char(50) State
zipcode char(10) Zip Code
country char(2) * Two digit ISO code
phone_cc char(4) Phone country code
phone_ac char(4) Phone area code
phone char(15) Phone number
fax_cc char(4) Fax country code
fax_ac char(4) Fax area code
fax char(15) Fax number
mobile_cc char(4) Mobile country code
mobile_ac char(4) Mobile area code
mobile char(15) Mobile number
location char(3) * Three digit closest airport code
contact char(50) Name of contact person
email char(75) Email
client char(1) To classify as a client identify with a Y or N
vendor char(1) To classify as a vendor identify with a Y or N
shipper char(1) To classify as a shipper identify with a Y or N
consignee char(1) To classify as a consignee identify with a Y or N
agent char(1) To classify as an agent identify with a Y or N
carrier char(1) To classify as a carrier identify with a Y or N
broker char(1) To classify as a broker identify with a Y or N
pay_terms int(3) Payment terms, specify number of days:
0 - Cash
7 - 7 days of credit
15 - 15 days of credit
30 - 30 days of credit
45 - 45 days of credit
60 - 60 days of credit
90 - 90 days of credit
120 - 120 days of credit
If left blank “cash” will be pre-determined
pay_terms_vendor int(3) If selected as vendor you can specify payment terms
as a vendor following the same rule as for customers
notify_whs char(1) To receive warehouse notification indicate Y
notify_master char(1) To receive shipment notification indicate Y
notify_stmt char(1) To receive statements indicate Y
language char(2) Language in which the system communicates with the
account, if left blank will be pre-determined to english:
EN - English
ES - Spanish
PT - Portuguese
cif char(15) Tax ID number
cod_cliente char(15) To specify customer account number
cod_control int(11) To be used only when updating a previously created
account. This number is provided in the confirmation
message when the account is created
contact_create, contact_modify
* Can’t be left blank