> ## Documentation Index
> Fetch the complete documentation index at: https://developers-docs.easyorders.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Pages

> Read and write the store's pages, such as About us or the return policy.

Scopes: `read_content` to read, `write_content` to change (it includes `read_content`). The same scopes cover the [blog](https://developers-docs.easyorders.ai/api-reference/articles/overview.md).

## The page

```json theme={"dark"}
{
  "id": "3b8e1f2a-6c4d-4e9f-8a1b-2c3d4e5f6a70",
  "title": "Return policy",
  "slug": "return-policy",
  "content": "<h2>Returns</h2><p>You can return any item within <strong>14 days</strong> of delivery.</p>",
  "show_in_header": false,
  "show_in_footer": true,
  "show_under_gallery": false,
  "position": 2,
  "is_active": true,
  "is_need_review": false,
  "created_at": "2026-11-20T09:00:00Z",
  "updated_at": "2026-11-20T09:00:00Z"
}
```

| Field | |
| - | - |
| `title` | 1 to 255 characters, one line, no `<`. Required on create. |
| `slug` | See [Slugs](#slugs). |
| `content` | HTML, up to 51,200 bytes. Required on create. See [HTML content](#html-content). |
| `show_in_header`, `show_in_footer` | Whether the storefront's header or footer links to the page. `false` by default. |
| `position` | 0 to 1,000,000,000, `0` by default. |
| `is_active` | Whether the page is on the storefront. `true` by default. |
| `is_need_review` | Read only. See [AI content check](#ai-content-check). |

[List pages](https://developers-docs.easyorders.ai/api-reference/pages/list-pages.md) leaves out `content`, the largest field; [Get a page](https://developers-docs.easyorders.ai/api-reference/pages/get-a-page.md) has it. Lists are ordered by `created_at`, not by `position`.

## HTML content

`content` is cleaned before it is saved, and the answer holds the cleaned HTML, which may differ from what you sent. Read it from the answer rather than keeping your own copy.

* The limit is **51,200 bytes, counted as you send it**, before cleaning, so you can check it beforehand (`422`, rule `max`). A whole body over 64 KiB answers `413 body_too_large`.
* Kept: text formatting, headings, lists, tables, quotes and code blocks; links to `https`, `mailto:`, `tel:` and `sms:`; `https` images; YouTube and Vimeo player iframes; the `dir` attribute; and the classes the merchant's dashboard editor writes (alignment, direction, indent, size, font).
* Removed: `script` and `style` with their content; every other element and attribute, keeping its text (forms, other iframes, `on*` handlers, `style` attributes, other classes); relative URLs, `data:` images and other URL schemes.
* Links get `nofollow` and `noreferrer` in their `rel`, and links to full URLs open in a new tab.

The content must be valid UTF-8 without NUL characters (`422`, rule `text`).

## Slugs

The slug is the page's name in its storefront URL: letters `a-z` and `A-Z`, digits and dashes, up to 255 characters.

* Create a page without `slug` and one is made from the title: its English letters and digits, in lower case, with dashes between words (`Return policy` → `return-policy`). A title with none of them, an Arabic one for example, gets `page`. When the slug is taken, a random suffix is added (`return-policy-3fa9c1`).
* A `slug` you send must not be another page's: `409 slug_taken`.
* Changing the title later does not change the slug. Send `slug` to change it.

## AI content check

The title and content go through the same AI content check as the merchant's own pages, on create and on every update that changes them. When the check flags them, the page is still saved as sent, with `is_need_review: true`, for a human review.

* `is_need_review` is read only. A later update whose check passes does not set it back to `false`.
* A check that fails or takes over 15 seconds counts as flagged.
* Each store allows 20 checks a minute, and each app 200 a minute across its stores, shared with products and articles. Over that, the text is flagged without a check.

Find the flagged pages with `filter=is_need_review||$eq||true`.

## Deleting

[Delete a page](https://developers-docs.easyorders.ai/api-reference/pages/delete-a-page.md) deletes it for good, as the merchant's dashboard does. To take a page off the storefront and keep it, set `is_active: false`.

## Changes show at once

The storefront shows a change right away, its header and footer links included.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.