SDK
Explore our fully type-safe SDK for Node.js
Retrieve pincodes
curl --request GET \ --url https://staging.api.commercengine.io/api/v1/{store_id}/storefront/common/countries/{country_iso_code}/pincodes \ --header 'Authorization: Bearer <token>'
{ "message": "<string>", "success": true, "content": { "pincodes": [ { "pincode": "<string>", "city": "<string>", "state_name": "<string>", "country_name": "<string>", "country_iso_code": "<string>" } ] } }
Access token
Country iso code with 2 chars. ex. IN for india
pincode. atleast 3 initial chars require to use this param
no of rows per page
page number of pagination list
OK
The response is of type object.
object