How your content, landing pages, blog posts and CMS pages are represented in Clerk.io
Each Page is represented as a page object where each key-value pair corresponds to a Page attribute name and value. Just as for product objects, customer objects allow you to have any number of attributes.
All attribute names must be strings, and values can be either bool
, int
, float
, string
or a list
of the former.
A product can have any number of attributes but must at least contain the following marked as Required:
Attribute | Type | Required | Description |
---|---|---|---|
id | int or str | Required | The page id. |
type | str | Required | The type of the content. Used to separate different types of pages such as CMP pages, blog posts and landing pages. |
url | str | Required | The URL of the content. |
image | str | Optional | The main image for the content. |
title | str | Required | The page title. |
text | str | Required | The page text. |