/pages
Get published content pages for navigation
Returns every published page in the channel as a flat list, in the tenant's own sort order. Each entry carries parentPageId and showInNavigation, so a storefront can build a nested menu from one call and still know which pages exist without appearing in it. Read the page body itself with GET /ecom/pages/{slug}.
Svar
ContentPageNavResponse[]
| Fält | Typ |
|---|---|
parentPageId
|
string(uuid) · nullable |
showInNavigation
|
boolean |
slug
|
string · nullable |
sortOrder
|
integer |
title
|
string · nullable |
-
Retry-After— Seconds to wait before retrying.
Standardfel:
404
Felhantering
Exempel
curl "https://api.erp.fluit.cloud/ecom/pages" \
-H "X-Tenant-Id: $FLUIT_TENANT_ID" \
-H "X-Channel: web"
[
{
"parentPageId": "0f8b2c1e-4d3a-4b7e-9f10-2a6c5d8e1b44",
"showInNavigation": true,
"slug": "string",
"sortOrder": 42,
"title": "string"
}
]
Bas-URL https://api.erp.fluit.cloud/ecom. Svarsexemplet är genererat ur schemat: formen stämmer, värdena är påhittade.