Authorizations
Access token
Path Parameters
Country iso code with 2 chars. ex. IN for india
Query Parameters
no of rows per page
page number of pagination list
pincode. atleast 3 initial chars require to use this param
Commerce Engine is now in beta. We're working hard to make it better for you.
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
Country iso code with 2 chars. ex. IN for india
no of rows per page
page number of pagination list
pincode. atleast 3 initial chars require to use this param
Was this page helpful?