REST-API

The Pages REST API consists of a single endpoint to fetch a page.
Click on the arrow to see the details of the parameters:
post
https://core.helloretail.com/serve/pages/{key}
Fetch content for a page identified by key

Example cURL

curl --location --request POST 'https://core.helloretail.com/serve/pages/62b434f72e59c03e6cd41206' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 2,
"url": "/test-url.com",
"layout": true,
"firstLoad": true,
"trackingUserId": "62a0317d17698aa57d369db9",
"format": "json",
"params": {"filters":{"hierarchies": ["women", "shoes"]}},
"products": {
"start": 0,
"count": 50,
"fields": ["id", "title", "price"],
"filters": [
"brand: nike",
],
"sorting": [
"title desc"
]
}
}'