Salla icon

Salla

Execute Salla Merchant API operations through the unified Actions backend.

Actions150

Locations → List Cities

AI-generated

Summary

List cities within a specified country using the Salla Merchant API, filtering by a selected sub-resource within the Locations resource.

Inputs

  • Sub-resource (required) — Select a sub-resource within the Locations resource (must be 'cities' for this operation).
  • Country (required) — Numeric unique identifier of the Country to list cities for, as per Salla's country IDs.
  • Return Mode — Choose to return either only the data payload ('Data Only') or the full backend response envelope including status and raw data ('Full Envelope'); defaults to 'Data Only'.
  • Additional Fields — Optional extra query parameters such as 'Page' number for paginated results.

Output shape

a list of city items within the specified country

By default, emits only the Salla data payload for each city as individual items unless 'Full Envelope' mode is selected, which returns the complete API response including status and raw data. Pagination can be controlled using the 'Page' additional field.

Examples

Example 1: Fetch first page of cities for Saudi Arabia (assuming country ID 1)

Set sub-resource to 'cities', country to 1, and optional 'Page' to 1.

Example 2: Retrieve full response envelope for cities in a country

Set Return Mode to 'Full Envelope' to receive complete API response details along with city data.

Discussion