API Documentation

Cart - Validating Shipping Addresses

To validate user-entered address information, you can query the Gooten API. API will return a score of the entered address, and a suggested address - a valid address that most closely matches the user-entered address.

This request yields the following response:

{
  "IsValid": "boolean",
  "Reason": "string",
  "Score": "integer",
  "ProposedAddress": {
    "City": "string",
    "CountryCode": "string",
    "PostalCode": "string",
    "StateOrProvinceCode": "string",
    "StreetLines": [
      "string"
    ]
  }
}