> To build or manage a Wix site with an AI agent, follow https://www.wix.com/headless/skill.md
> It builds a new Wix site or puts your own site online, from a prompt, and keeps changing it afterwards. The pages are code in any web technology, and Wix runs the backend.
> It works through the Wix plugin (the Wix MCP and the Wix skills), the Wix CLI or no Wix login, and puts the site live on Wix hosting or on another host.
> Business features include a store, bookings, events and tickets, a restaurant, a blog, forms, members and many more.
> Read the Wix skills online at https://www.wix.com/skills
> 
> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

# Resource: Post Paywall V1

# Type: Post Paywall Object

# Link: https://dev.wix.com/docs/api-reference/business-solutions/blog/post-paywall/post-paywall-v1/post-paywall-object.md

## Description: A post paywall defines the paywall content shown on a single blog post.

A post paywall either references a paywall template from the site's template library,
or holds rich content that applies to this post only.
A post that references a template reflects later edits to that template.
A post with its own content doesn't, because the content is a copy that has no further ties
to the template it was based on.

A post is identified by its ID and its FQDN together, because a draft post and the
published post it produces share the same ID.
Each post has at most 1 post paywall.

## Schema:

```json
 Type: Post Paywall Object | type: PostPaywall
 Description: A post paywall defines the paywall content shown on a single blog post.

A post paywall either references a paywall template from the site's template library,
or holds rich content that applies to this post only.
A post that references a template reflects later edits to that template.
A post with its own content doesn't, because the content is a copy that has no further ties
to the template it was based on.

A post is identified by its ID and its FQDN together, because a draft post and the
published post it produces share the same ID.
Each post has at most 1 post paywall.
       - name: id  | type: string | description: Post paywall ID.
           - name: value  | type: string | description: 
       - name: revision  | type: string | description: Revision number, which increments by 1 each time the post paywall is updated.  Not checked when upserting a post paywall.
           - name: value  | type: string | description: 
       - name: createdDate  | type: string | description: Date and time the post paywall was created.
           - name: seconds  | type: string | description: 
           - name: nanos  | type: number | description: 
       - name: updatedDate  | type: string | description: Date and time the post paywall was updated.
       - name: postId  | type: string | description: ID of the post the paywall belongs to.  A draft post and the published post it produces share an ID, so `postId` identifies a post only together with `postFqdn`.
       - name: postFqdn  | type: string | description: FQDN of the post. Distinguishes a draft post from a published post with the same ID.  Supported values: - `wix.blog.v4.draft_post`: A draft post. - `wix.blog.v4.post`: A published post.
       - name: basePaywallTemplateId  | type: string | description: ID of the paywall template that `richContent` is based on.  Available only when `richContent` is set. Cleared when the post uses `paywallTemplateId`. Not kept in sync with the template, and may refer to a deleted template.  Default: The stored value, when `richContent` is set and this field isn't specified.
       - ONE-OF:
           - name: paywallTemplateId  | type: string | description: ID of the paywall template the post uses from the site's template library.
           - name: richContent  | type: RichContent | description: Paywall content that applies to this post only, in rich content format.  Contains a single `LAYOUT` node whose `layoutData.banner.position` is `PAYWALL`.
               - name: nodes  | type: Array<Node> | description: Node objects representing a rich content document.
                   - name: type  | type: string | description: Node type. Use `APP_EMBED` for nodes that embed content from other Wix apps. Use `EMBED` to embed content in [oEmbed](https://oembed.com/) format.
                   - name: id  | type: string | description: Node ID.
                   - name: nodes  | type: Array<Node> | description: A list of child nodes.
                   - name: style  | type: NodeStyle | description: Padding and background color styling for the node.
                   - ONE-OF:
                       - name: buttonData  | type: ButtonData | description: Data for a button node.
                       - name: codeBlockData  | type: CodeBlockData | description: Data for a code block node.
                       - name: dividerData  | type: DividerData | description: Data for a divider node.
                       - name: fileData  | type: FileData | description: Data for a file node.
                       - name: galleryData  | type: GalleryData | description: Data for a gallery node.
                       - name: gifData  | type: GIFData | description: Data for a GIF node.
                       - name: headingData  | type: HeadingData | description: Data for a heading node.
                       - name: htmlData  | type: HTMLData | description: Data for an embedded HTML node.
                       - name: imageData  | type: ImageData | description: Data for an image node.
                       - name: linkPreviewData  | type: LinkPreviewData | description: Data for a link preview node.
                       - name: mapData  | type: MapData | description: 
                       - name: paragraphData  | type: ParagraphData | description: Data for a paragraph node.
                       - name: pollData  | type: PollData | description: Data for a poll node.
                       - name: textData  | type: TextData | description: Data for a text node. Used to apply decorations to text.
                       - name: appEmbedData  | type: AppEmbedData | description: Data for an app embed node.
                       - name: videoData  | type: VideoData | description: Data for a video node.
                       - name: embedData  | type: EmbedData | description: Data for an oEmbed node.
                       - name: collapsibleListData  | type: CollapsibleListData | description: Data for a collapsible list node.
                       - name: tableData  | type: TableData | description: Data for a table node.
                       - name: tableCellData  | type: TableCellData | description: Data for a table cell node.
                       - name: externalData  | type: Struct | description: Data for a custom external node.
                       - name: audioData  | type: AudioData | description: Data for an audio node.
                       - name: orderedListData  | type: OrderedListData | description: Data for an ordered list node.
                       - name: bulletedListData  | type: BulletedListData | description: Data for a bulleted list node.
                       - name: blockquoteData  | type: BlockquoteData | description: Data for a block quote node.
                       - name: captionData  | type: CaptionData | description: Data for a caption node.
                       - name: layoutData  | type: LayoutData | description: Data for a layout node. Reserved for future use.
                       - name: layoutCellData  | type: LayoutCellData | description: Data for a cell node.
                       - name: shapeData  | type: ShapeData | description: Data for a shape node.
                       - name: cardData  | type: CardData | description: Data for a card node.
                       - name: tocData  | type: TocData | description: Data for a table of contents node.
                       - name: smartBlockData  | type: SmartBlockData | description: Data for a smart block node.
                       - name: smartBlockCellData  | type: SmartBlockCellData | description: Data for a smart block cell node.
                       - name: checkboxListData  | type: CheckboxListData | description: Data for a checkbox list node.
                       - name: listItemData  | type: ListItemNodeData | description: Data for a list item node.
                       - name: slotData  | type: SlotData | description: Data for a slot node.
               - name: metadata  | type: Metadata | description: Object metadata.
                   - name: version  | type: number | description: Schema version.
                   - name: createdTimestamp  | type: string | description: When the object was created.
                   - name: updatedTimestamp  | type: string | description: When the object was most recently updated.
                   - name: id  | type: string | description: Object ID.
               - name: documentStyle  | type: DocumentStyle | description: Global styling for header, paragraph, block quote, and code block nodes in the object.
                   - name: headerOne  | type: TextNodeStyle | description: Styling for H1 nodes.
                   - name: headerTwo  | type: TextNodeStyle | description: Styling for H2 nodes.
                   - name: headerThree  | type: TextNodeStyle | description: Styling for H3 nodes.
                   - name: headerFour  | type: TextNodeStyle | description: Styling for H4 nodes.
                   - name: headerFive  | type: TextNodeStyle | description: Styling for H5 nodes.
                   - name: headerSix  | type: TextNodeStyle | description: Styling for H6 nodes.
                   - name: paragraph  | type: TextNodeStyle | description: Styling for paragraph nodes.
                   - name: blockquote  | type: TextNodeStyle | description: Styling for block quote nodes.
                   - name: codeBlock  | type: TextNodeStyle | description: Styling for code block nodes.

```