docs
  1. Resources
  2. Pages
  3. List The Pages

List the pages

{{version}}
OpenAPI 3.1.0

Storefront API Documentation

SCAYLE Storefront API is a REST API used to access your product data in any customer-facing application. Some common scenarios include retrieving campaigns, promotions, categories or configuration. You can also use it to save baskets or wishlists for individual customers and filter and search products.

Core concepts of the Storefront API are: Variant: Any distinct sellable item, for example: a blue colored shirt in size L. Available quantity/stock information is always on variant level. Product: A product is a collection of one or more variants with some shared attributes, for example: A blue colored shirt (product) available in different sizes (variants). A product will be sold out when all its variants are sold out. Sibling: A product closely related to another product, for example, the same shirt by the same brand, but in another color. Category: Each product can be assigned to one or more category nodes in the category tree. Attribute: Attributes are, for example, size, material, color. Attributes can be assigned to product level or variant level. Filter: Any criteria available to filter a list of products, for example: an attribute or a category. Basket: The basket holds variants that a customer intends to buy and has added to his shopping cart. Wishlist: Customers can add variants to a wishlist to remember them or buy them later.

Requests Base URL: https://{{tenant-space}}.storefront.api.scayle.cloud

Authentication

  1. Generate access token in the SCAYLE Panel > Shops > Storefront > API Keys.
  2. Provide the generated access token in the X-Access-Token Header

Note: After the token is generated in the SCAYLE Panel, it can take some time for changes to take effect.

Rate-Limiting Headers

SCAYLE Storefront API enforces a rate-limiting policy to manage the number of requests a client can make within a defined time window. Each response may include the following headers to provide users with their current rate-limit status:

  • X-RateLimit-Limit: Indicates the maximum number of allowed API requests for the current period, specific to the tenant's rate limit.
  • X-RateLimit-Remaining: Shows the remaining number of API requests allowed within the current period, specific to the tenant's rate limit.
  • X-RateLimit-Reset: The date and time when the current rate-limit window will reset.
  • X-RateLimit-Scope: Specifies the scope of the rate limit as it applies to the tenant, e.g., global.

If a tenant exceeds its allowed limit, the response status code will be 429 Too Many Requests.

Server:https://{tenant-space}.storefront.api.scayle.cloud
Client Libraries

pages

​

Get pages

pages Operations

List the pages

​

Retrieve the list of pages.

Query Parameters

  • The numeric ID of the shop to resolve the request against. Every shop in a multi-shop setup has a unique shopId.

    Priority: shopId (or the X-Shop-Id header) takes precedence over all other shop identification parameters. When shopId is present, shopKey, countryCode, and locale are ignored entirely.

    Alternative: If neither shopId nor X-Shop-Id is provided, you must supply all three of shopKey, countryCode, and locale together to identify the shop.

  • The unique string key identifying the shop (e.g. sa, de).

    Must be provided together with countryCode and locale as a query-parameter alternative to shopId. All three parameters are mandatory when using this identification method — omitting any one of them results in a validation error.

    Ignored when shopId or the X-Shop-Id header is present.

  • The ISO 3166-1 alpha-2 country code of the shop (e.g. DE, AT). Automatically normalised to uppercase.

    Must be provided together with shopKey and locale as a query-parameter alternative to shopId. All three parameters are mandatory when using this identification method — omitting any one of them results in a validation error.

    Ignored when shopId or the X-Shop-Id header is present.

  • The locale of the shop (e.g. en_GB, de_DE). Used to validate that the resolved shop's locale matches the requested locale.

    Must be provided together with shopKey and countryCode as a query-parameter alternative to shopId. All three parameters are mandatory when using this identification method — omitting any one of them results in a validation error.

    Ignored when shopId or the X-Shop-Id header is present.

  • The number of the page to retrieve. The combined value of page * perPage must not exceed 500000, which is the maximum number of items that can be returned.

    Note: This parameter is mutually exclusive with offset and limit.

  • The number of items to retrieve per page. The combined value of page * perPage must not exceed 500000, which is the maximum number of items that can be returned.

    Note: This parameter is mutually exclusive with offset and limit.

  • The offset of the first item to return. The combined value of offset + limit must not exceed 500000, which is the maximum number of items that can be returned.

    Note: This parameter is mutually exclusive with page and perPage.

  • The combined value of offset + limit must not exceed 500000, which is the maximum number of items that can be returned.

    Note: This parameter is mutually exclusive with page and perPage.

  • Restrict results to pages that match the specified comma-separated list of IDs.

    Note: This parameter ignores any pagination option. Additionally, this filter always takes precedence over any other, meaning that when it is set then it's the only considered filter.

  • Restrict results to pages that match the specified comma-separated list of slugs.

    Note: This parameter ignores any pagination option.

Headers

  • The numeric ID of the shop to resolve the request against. Every shop in a multi-shop setup has a unique shop ID.

    Priority: X-Shop-Id (or the shopId query parameter) takes precedence over all other shop identification parameters. When this header is present, X-Shop-Key, X-Country-Code, and X-Locale are ignored entirely.

    Alternative: If neither X-Shop-Id nor shopId is provided, you must supply all three of X-Shop-Key, X-Country-Code, and X-Locale together to identify the shop.

  • The unique string key identifying the shop (e.g. sa, de).

    Must be provided together with X-Country-Code and X-Locale as a header-based alternative to X-Shop-Id. All three headers are mandatory when using this identification method — omitting any one of them results in a validation error.

    Ignored when X-Shop-Id or the shopId query parameter is present.

  • The ISO 3166-1 alpha-2 country code of the shop (e.g. DE, AT). Automatically normalised to uppercase.

    Must be provided together with X-Shop-Key and X-Locale as a header-based alternative to X-Shop-Id. All three headers are mandatory when using this identification method — omitting any one of them results in a validation error.

    Ignored when X-Shop-Id or the shopId query parameter is present.

  • The locale of the shop (e.g. en_GB, de_DE). Used to validate that the resolved shop's locale matches the requested locale.

    Must be provided together with X-Shop-Key and X-Country-Code as a header-based alternative to X-Shop-Id. All three headers are mandatory when using this identification method — omitting any one of them results in a validation error.

    Ignored when X-Shop-Id or the shopId query parameter is present.

Responses

  • application/json
  • application/json
  • application/json
  • application/json
Request Example for get/v1/pages
curl --location 'https://{{tenant-space}}.storefront.api.scayle.cloud/v1/pages?shopId={{shopId}}'
{
  "pagination": {
    "current": 1,
    "total": 1,
    "perPage": 1,
    "page": 1,
    "first": 1,
    "prev": 1,
    "next": 1,
    "last": 1
  },
  "entities": [
    {
      "id": 3265,
      "name": "Men's cotton T-shirt",
      "slug": "cotton-tshirt-men",
      "isActive": true,
      "headline": "All colors all sizes men's cotton T-shirt",
      "text": "A comfortable and stylish cotton T-shirt for men, available in all colors and sizes.",
      "meta": {
        "robots": "index, nofollow",
        "title": "Men's cotton T-shirt",
        "description": "Men's cotton T-shirt—stylish, comfy, all colors and sizes."
      }
    }
  ]
}

Models

​
​
​
​
​

Last updated: December 02, 2026