Validate Shipping Address
teapplix_validate_addressValidate and normalize a US shipping address against a carrier's validation engine. Only US addresses (CountryCode=US) are supported — non-US addresses return an error. Branch on Status: "Validated Changed" → engine corrected one or more fields, diff Address vs. input and update the record; "Validated Not Changed" → address is already valid, no action needed; "Not Changed" → engine rejected the address, surface Message to the user. [DEMO]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Address | Yes | US address to validate. Supply at least Street, City, State, and ZipCode (or Street + ZipCode for ZIP-only normalization). Only US addresses (CountryCode=US) are supported. | |
| Provider | No | Address validation engine. Defaults to TEAPPLIX (uses the account default, typically EasyPost). UPS and FEDEX route to that carrier's native validator — only specify these if the user explicitly requests carrier-specific validation and has that carrier account linked. | TEAPPLIX |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Status | Yes | Validation result. Three known values: "Validated Changed" — address is valid but change is suggested; "Validated Not Changed" — address is valid no change needed; "Not Changed" — address is invalid impossible to fix. | |
| Address | Yes | Input address, but if suggested change is given under Status="Validated Changed", certain fields in this object are modified based on carrier feedback. | |
| Message | No | Detail message about address validation return. | |
| Residential | No | True for residential delivery, false for commercial. Populated when the validating carrier reports it. | |
| DeliveryPoint | No | USPS DPV postal-barcode delivery point digits, when available. |