Fulfillment
Get address by postal code
Retrieves address information for a given postal code and country.
This request can be used to implement auto complete functionality when a customer needs to fill in an address.
Permissions
This endpoint does not require permissions.
get/api/checkout/pub/postal-code/{countryCode}/{postalCode}
Request
- Base URLhttps://apiexamples.vtexcommercestable.com.br
- URLhttps://apiexamples.vtexcommercestable.com.br/api/checkout/pub/postal-code/{countryCode}/{postalCode}
- Authnone required
Path parameters
countryCodestring required
Example:BRA
Three letter country code refering to the postalCode field.
postalCodestring required
Example:1234000
Postal code.
Query parameters
individualShippingEstimatesboolean
Example:true
Shows the product's estimated shipping date in the shippingEstimate field from the orderForm.
Headers
Content-Typestring required
Type of the content being sent.
Acceptstring required
HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.
Response
OK
Changes
No recorded changes to this operation across all 57 revisions of this API.