This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Creates a pattern for a page type that's still on its Wix default.
Before creating a pattern:
pageType. For a page-specific WIX_DATA_PAGE_ITEM pattern, pass
the same pageId to Get that you will send in seoPattern.pageId to Create.
Create only when source is PATTERN_SOURCE_DEFAULT.
If it is PATTERN_SOURCE_USER, call Set SEO Pattern
instead. Creating an existing pattern fails with PATTERN_ALREADY_EXISTS (409).pageType. Use the returned key values inside double braces,
such as {{blog-post.title}} for BLOG_POST, not {{post.title}}.
Names differ by page type; an unknown variable fails with INVALID_PATTERN (400).The pattern must contain at least one tag. Build the complete desired tag list
from defaultPattern, because the new pattern replaces the page type's tag
templates. To leave a page type on its Wix default, create nothing for it.
You can only call this method when authenticated as a Wix app or Wix user identity.
There are 3 errors with this status code.
There is 1 error with this status code.
There is 1 error with this status code.
This method may also return standard errors. Learn more about standard Wix errors.