Run in Apidog
This endpoint returns the list of available municipalities for a given terminal, category, and location level. It is part of the dynamic flow and may be skipped depending on the product type, as indicated in the previous performed call. 🔍 Description# Retrieve municipalities relevant to the selected state or region
Continue the location-based flow toward product or delivery selection
Dynamically determine the next step using nextPath and nextField
📥 Request Details# 📤 Response# Returns an array of municipality objects: Field Type Description municipalityIdinteger Unique identifier of the municipality namestring Display name of the municipality nextPathstring Path to the next endpoint in the flow nextFieldstring Field name required in the next step, as defined in Get Labels
Example# [
{
"municipalityId" : 301 ,
"name" : "Barcelona" ,
"nextPath" : "/physical-products/deliver-locations/{terminalId}/101/301" ,
"nextField" : "locationId"
}
] 🧠 Usage Notes# This step may be skipped for virtual products or simplified flows, always according to the nextPathon the previous call.
Use nextPath and nextField to determine the next endpoint and required parameter.
The municipalityId is used to retrieve delivery locations or available products.
Request Code Samples
curl --location --request GET 'https://evsb.csqworld.com/physical-products/municipalities///' \
--header 'U: {{U}}' \
--header 'SH: {{SH}}' \
--header 'ST: {{ST}}' Responses
[
{
"municipalityId" : 4 ,
"name" : "municipality" ,
"nextPath" : "/physical-products/{{nextPath}}/{{terminalId}}/{{levelId}}" ,
"nextField" : "{nextField}"
}
] Modified at 2025-08-06 15:18:13