Locations

List locations for authenticated business flows

Changed on

Requires the order:create scope. Retrieve a cursor-paginated list of locations with optional search.

get/v3/locations

Request

  • Base URL
    https://api.scalev.com
  • URL
    https://api.scalev.com/v3/locations
  • Auth
    • HTTP bearer
    • or API key in header authorization

Query parameters

page_sizeinteger

Number of items per page.

next_cursorstring

Opaque cursor for the next page.

previous_cursorstring

Opaque cursor for the previous page.

searchstring

Search term for location names

Response

Locations list

is_paginatedtrue required
has_nextboolean
page_sizeinteger

Example response

{
  "data": [
    {
      "kelurahan_name": "Cempaka Putih Timur",
      "display": "Cempaka Putih Timur, Cempaka Putih, Kota Jakarta Pusat, DKI Jakarta"
    }
  ],
  "is_paginated": true,
  "page_size": 25
}

Changes