Skip to Content
ReferenceArchive queriesLocation archive query parameters

Location archive query parameters

Audience: CMS editors and developers.

This reference defines locations filters and sort values. See shared filter behavior for URL precedence and ID selection.

Supported query params

The query prop accepts a standard URL query string. Use & to combine multiple parameters. Repeat a key to apply a list filter.

ID

Filters by location id.

  • Key: ID
  • Type: string (repeatable)
  • Note: When ID is present, the archive ignores all other filters. sort, order, and loading more results by page apply.

Examples:

ID=loc_123 ID=loc_123&ID=loc_456

ZIP code

This filter selects the location ZIP code.

  • Key: ZIP_CODE
  • Type: string (repeatable)
  • Matching rule: zipCode in [values]

Examples:

ZIP_CODE=10115 ZIP_CODE=20095 ZIP_CODE=10115&ZIP_CODE=20095

External ID

Filters by a service key and external location ID. See Locations for the standard keys.

  • Key: EXTERNAL_ID
  • Type: string (repeatable)
  • Value format: key:value. The first colon separates the key from the ID.
  • Matching rule: The key and ID must match one external ID row. Matching is case-sensitive. Repeated filters use OR.
  • Repeat the parameter for multiple mappings. Commas and additional colons remain part of the ID.

Examples:

EXTERNAL_ID=netconnection:dealer_berlin EXTERNAL_ID=shopify.pos:123 EXTERNAL_ID=netconnection:dealer_berlin&EXTERNAL_ID=netconnection:dealer_hamburg

Combined examples

ZIP_CODE=10115
ZIP_CODE=10115&ZIP_CODE=20095&EXTERNAL_ID=netconnection:dealer_berlin

Sort options

Use the serialized SortOption and OrderOption values.

Display optionQuery
Name (A–Z)sort=NAME&order=ASC
Name (Z–A)sort=NAME&order=DESC
Address, A–Z — Adresse (A–Z)sort=ADDRESS&order=ASC
Address, Z–A — Adresse (Z–A)sort=ADDRESS&order=DESC
ZIP code, A–Z — PLZ (A–Z)sort=ZIP_CODE&order=ASC
ZIP code, Z–A — PLZ (Z–A)sort=ZIP_CODE&order=DESC
Last updated on