POST api/Avalara/ValidateAddress
Request Information
URI Parameters
None.
Body Parameters
OrderShippingDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderShippingDetailsId | integer |
None. |
|
| OrderId | integer |
None. |
|
| ShippingTypeId | integer |
None. |
|
| AddressLine1 | string |
None. |
|
| AddressLine2 | string |
None. |
|
| City | string |
None. |
|
| StateId | integer |
None. |
|
| Zip | string |
None. |
|
| CountryId | integer |
None. |
|
| CompanyName | string |
None. |
|
| ShippingAmount | decimal number |
None. |
|
| ShippingType | string |
None. |
|
| StateName | string |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| StudentProductId | integer |
None. |
|
| CorporateShippingAmount |
Holds the corporate shipping amount of the order |
decimal number |
None. |
| StudentProductShipmentId | integer |
None. |
|
| ShippingAddressFormat | string |
None. |
|
| IsTaxExempted | boolean |
None. |
|
| TaxExemptReason | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"OrderShippingDetailsId": 1,
"OrderId": 2,
"ShippingTypeId": 3,
"AddressLine1": "sample string 4",
"AddressLine2": "sample string 5",
"City": "sample string 6",
"StateId": 7,
"Zip": "sample string 8",
"CountryId": 9,
"CompanyName": "sample string 10",
"ShippingAmount": 11.0,
"ShippingType": "sample string 12",
"StateName": "sample string 13",
"FirstName": "sample string 14",
"LastName": "sample string 15",
"StudentProductId": 16,
"CorporateShippingAmount": 17.0,
"StudentProductShipmentId": 18,
"ShippingAddressFormat": "sample string 19",
"IsTaxExempted": true,
"TaxExemptReason": "sample string 21"
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>