Vendor Address Object
Vendor Address is a Child object of Vendor.
End Point
/vendoraddress
GET, POST, PUT, DELETE
GET and DELETE requests expect parameters vendorId AND id of type Int32.
Properties
Property | Caption | Data Type | Required |
Id | Id | Int32 | Put only |
VendorRef | Vendor | EntityRef | True |
Name | Name | String (50) | True |
Addr1 | Name/Company | String (50) | False |
Addr2 | Street | String (50) | False |
Addr3 | Floor/Suite | String (50) | False |
Addr4 | Care of | String (50) | False |
AltContact | Alt. Contact | String (50) | False |
AltPhone | Alt. Phone | String (50) | False |
City | City | String (50) | False |
Contact | Contact | String (50) | False |
Country | Country | String (50) | False |
Fax | Fax | String (50) | False |
Phone | Phone | String (50) | False |
State | State/Prov./Reg. | String (50) | False |
Zip | Zip/Postal code | String (50) | False |
String (1023) | False | ||
IsActive | Active | Boolean | False |
IsPrimary | Is Primary | Boolean | False |
Json Sample
{ "Id": 1, "VendorRef": { "Id": 298, "Name": "Sky Rockets Inc." }, "Name": "Primary", "Addr1": "Sky Rockets Inc.", "Addr2": "140 Hauge Street", "Addr3": "Suite 404", "Addr4": "Accounting", "City": "Miami", "State": "FL", "Zip": "33303", "Country": "US", "Contact": "John Doe", "AltContact": "Jane Smith", "Phone": "972-544-3160", "AltPhone": "305-869-8942", "Fax": "305-869-8944", "Email": "jane.doe.@gmail.com", "IsPrimary": true, "IsActive": true, "CustomFields": [ { "Name": "VAddCust1", "Value": null, "Caption": "FFL" }, { "Name": "VAddCust2", "Value": null, "Caption": "Ship Time" } ] }