Langsung ke konten utama
GET
/
v3
/
stores
/
{store_id}
/
public
/
locations
/
subdistricts
List storefront delivery subdistricts
curl --request GET \
  --url https://api.scalev.com/v3/stores/{store_id}/public/locations/subdistricts \
  --header 'X-Scalev-Storefront-Api-Key: <x-scalev-storefront-api-key>'
{
  "data": [
    {
      "id": 123,
      "subdistrict_name": "<string>",
      "city_name": "<string>",
      "province_name": "<string>",
      "display": "Cempaka Putih, Kota Jakarta Pusat, DKI Jakarta",
      "ro_subdistrict_id": 123,
      "ro_city_id": 123,
      "ro_province_id": 123
    }
  ],
  "is_paginated": true,
  "has_next": true,
  "has_previous": true,
  "next_cursor": "<string>",
  "previous_cursor": "<string>",
  "page_size": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.scalev.com/llms.txt

Use this file to discover all available pages before exploring further.

Header

X-Scalev-Storefront-Api-Key
string
wajib

Publishable storefront public API key for the target store.

Parameter Path

store_id
string
wajib

Store unique_id.

Parameter Query

city_id

City ID from /public/locations/cities. Required unless ro_city_id is provided.

ro_city_id

Legacy alias for city_id.

Respons

Subdistrict list

data
object[]
wajib
is_paginated
boolean
wajib
has_next
boolean
has_previous
boolean
next_cursor
string | null
previous_cursor
string | null
page_size
integer