Variable Name | Type | Purpose |
---|---|---|
VendorKey | Char Var | The unique ID used to identify the Vendor through the API. |
CompCode | Char Var | An abbreviated form of the vendor's name. |
Name | Char Var | The vendor company's name. |
Address1 | Char Var | The mailing address of the vendor. |
Address2 | Char Var | Additional information on the address, such as PO box # or suite #. |
City | Char Var | vendor's City. |
State | Char Var | vendor's State, in two character format. |
ZipCode | Char Var | The vendor's zipcode, supports non-American zipcode formats. |
Country | Char Var | The vendor's country. |
Phone | Char Var | vendor's point of contact phone number. |
Fax | Char Var | vendor's fax number. |
Char Var | vendor's primary point of contact email address. | |
MCNumber | Char Var | vendor's Motor Carrier Number. |
DOTNumber | Char Var | vendor's Department of Transportation Number. |
curl -H 'Auth-FactorId: FACTORID’ -H 'Auth-SystemKey: SYSTEMKEY’ -H 'Auth-ApiKey: APIKEY’ https://wstest.factorcloud.com/api_factor/get-vendor/?vendorkey=EXAMPLE_VENDOR_KEY
{ https://wstest.factorcloud.com/api_factor/get-vendor/ }
{"VendorKey":"TV3","CompCode":"VTM","Name":"Vendor Test M", "Address1":"","Address2":"","City":"","State":"","ZipCode":"","Country":"", "Phone":"","Fax":"","Email":"","MCNumber":"","DOTNumber":""}