Methods

  • post - 5.2. Get Locations

Resource

{
    "GetLocationsResult": {
        "Locations": [
            {
                "Address1": "string",
                "Address2": "string",
                "City": "string",
                "Country": "string",
                "Created": "date-time",
                "LocationID": "int32",
                "MailingAddress": "boolean",
                "Name": "string",
                "PrimaryBusinessAddress": "boolean",
                "State": "string",
                "Zip4": "number",
                "Zip5": "number"
            }
        ],
        "Messages": [
            "string"
        ],
        "NewAccountApiKey": "string",
        "ResponseType": "int32"
    }
}

Properties

Name Type Description Additional
GetLocationsResult object Optional
GetLocationsResult.Locations[] array Optional
GetLocationsResult.Locations[].Address1 string Address1 Optional
GetLocationsResult.Locations[].Address2 string Address2 Optional
GetLocationsResult.Locations[].City string City
GetLocationsResult.Locations[].Country string

ISO 3166-1 alpha-3

Optional
GetLocationsResult.Locations[].Created date-time Optional
GetLocationsResult.Locations[].LocationID int32 Optional
GetLocationsResult.Locations[].MailingAddress boolean Optional
GetLocationsResult.Locations[].Name string
GetLocationsResult.Locations[].PrimaryBusinessAddress boolean Optional
GetLocationsResult.Locations[].State string State

Possible values are:

  • AL
  • AK
  • AZ
  • AR
  • CA
  • CO
  • CT
  • DE
  • DC
  • FL
  • GA
  • HI
  • ID
  • IL
  • IN
  • IA
  • KS
  • KY
  • LA
  • ME
  • MD
  • MA
  • MI
  • MN
  • MS
  • MO
  • MT
  • NE
  • NV
  • NH
  • NJ
  • NM
  • NY
  • NC
  • ND
  • OH
  • OK
  • OR
  • PA
  • RI
  • SC
  • SD
  • TN
  • TX
  • UT
  • VT
  • VA
  • WA
  • WV
  • WI
  • WY
GetLocationsResult.Locations[].Zip4 number Zip4 Optional
GetLocationsResult.Locations[].Zip5 number Zip5 Optional
GetLocationsResult.Messages[] array of string

Optional array of messages related to the response.

Optional
GetLocationsResult.NewAccountApiKey string

Find your API KEY via https://taxcloud.com/go/stores/

Optional
GetLocationsResult.ResponseType int32

Response Types include

  • 0 = Error. Likely invalid API Credentials
  • 1 = Warning. Something is wrong.
  • 2 = Informational. Something could be better
  • 3 = SUCCESS! You did it!

    Possible values are:

    • %!s(float64=0)
    • %!s(float64=1)
    • %!s(float64=2)
    • %!s(float64=3)
Optional