POST api/Avalara/ValidateAddress

Request Information

URI Parameters

None.

Body Parameters

OrderShippingDetails
NameDescriptionTypeAdditional 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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'OrderShippingDetails'.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>