Commerce Engine is now in early preview. Please report any issues or feedback to support@commercengine.io
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>"
}
]
}
}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
ISO 3166-1 alpha-2 country code (e.g., IN for India).
2^[A-Z]{2}$no of rows per page
page number of pagination list
pincode. atleast 3 initial chars require to use this param
Was this page helpful?