Salla icon

Salla

Execute Salla Merchant API operations through the unified Actions backend.

Actions150

Locations → List Districts

AI-generated

Summary

Retrieve a list of districts within a specified city in the Salla e-commerce platform.

Inputs

  • Sub-resource (required) — Select the sub-resource; for this operation, it should be set to 'districts'.
  • City (required) — Unique numeric ID of the city whose districts you want to list. City IDs are available from Salla documentation.
  • Return Mode — Choose to return either only the district data array ('Data Only') or the full API response envelope including status and raw data ('Full Envelope'). Defaults to 'Data Only'.
  • Additional Fields — Optional additional parameters such as 'Page' number to paginate the districts list.

Output shape

a list of district records associated with the specified city, emitted as multiple items if 'Data Only' mode is selected; or a single item containing the full API response envelope if 'Full Envelope' mode is selected.

The response may be paginated; use the 'Page' additional field to request specific pages. The default return mode emits only the array of district data, suitable for direct use in workflows. Selecting 'Full Envelope' returns comprehensive response details including status codes and raw response data for debugging or advanced use.

Discussion