--- url: https://docs.youcan.shop/changelog/page-builder-api.md --- New endpoints read, create, update and preview page builder pages. The MCP server has a tool for each. *** # Page builder * `GET /pages/builder/schema` returns the page settings and the section types. See [Page builder schema](/store-admin/pages/builder/schema). * `POST /pages/builder` creates a landing page from sections. See [Create a builder page](/store-admin/pages/builder/create). * `GET /pages/{id}/builder` returns the content of a page. See [Get a builder page](/store-admin/pages/builder/get). * `PUT /pages/{id}/builder` replaces the content of a page. The response has the content before the change in `previous`. See [Update a builder page](/store-admin/pages/builder/update). * `POST /pages/{id}/builder/preview` returns a preview link that works for 60 minutes. See [Preview a builder page](/store-admin/pages/builder/preview). * A new page is hidden unless you send `visibility`. * The content is validated against the schema before it is saved. Errors have the exact path of the value.