Langsung ke konten utama
GET
/
v3
/
pages
/
{page_unique_id}
/
locations
/
{location_id}
/
postal-codes
List HTML Mode delivery postal codes
curl --request GET \
  --url https://api.scalev.com/v3/pages/{page_unique_id}/locations/{location_id}/postal-codes \
  --header 'X-Scalev-Page-Api-Key: <x-scalev-page-api-key>'
{
  "data": [
    {
      "postal_code": "10510"
    }
  ],
  "is_paginated": false
}

Header

X-Scalev-Page-Api-Key
string
wajib

Publishable page public API key for the page_unique_id path page. Storefront public API keys are not accepted on page-scoped public routes.

Parameter Path

page_unique_id
string
wajib

Public page unique ID.

Contoh:

"page_540f48019f525f41"

location_id
integer
wajib

Legacy numeric location ID.

Parameter Query

Optional postal code search within the selected location.

Respons

Postal code list

data
object[]
wajib
is_paginated
enum<boolean>
wajib
Opsi yang tersedia:
false