> 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: Paywall Template V1

# Type: Paywall Template Object

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

## Description: A paywall template is reusable paywall content in a site's template library.
Paywall content is shown in place of a post body to visitors who don't have access to the post.

Each template belongs to a single language and can be used by any number of posts.
Which template a post uses is stored in the post's [post paywall](https://dev.wix.com/docs/api-reference/business-solutions/blog/post-paywall/introduction.md),
not in the template.

## Schema:

```json
 Type: Paywall Template Object | type: PaywallTemplate
 Description: A paywall template is reusable paywall content in a site's template library.
Paywall content is shown in place of a post body to visitors who don't have access to the post.

Each template belongs to a single language and can be used by any number of posts.
Which template a post uses is stored in the post's [post paywall](https://dev.wix.com/docs/api-reference/business-solutions/blog/post-paywall/introduction.md),
not in the template.
       - name: id  | type: string | description: Paywall template ID.
           - name: value  | type: string | description: 
       - name: revision  | type: string | description: Revision number, which increments by 1 each time the paywall template is updated. To prevent conflicting changes, the current revision must be passed when updating the paywall template.  Ignored when creating a paywall template.
           - name: value  | type: string | description: 
       - name: createdDate  | type: string | description: Date and time the paywall template was created.
           - name: seconds  | type: string | description: 
           - name: nanos  | type: number | description: 
       - name: updatedDate  | type: string | description: Date and time the paywall template was updated.
       - name: richContent  | type: RichContent | description: Paywall content, 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.
       - name: title  | type: string | description: Template title, as shown to site owners when they choose a template.
       - name: language  | type: string | description: Template language, in [IETF BCP 47](https://en.wikipedia.org/wiki/IETF_language_tag) format. For example, `en` or `en-US`.  Can't be changed after the template is created.

```