PATCH

Set Seo Pattern


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Changes the pattern a site has for a page type.

Setting pattern replaces the page type's tag templates in full, so retrieve the pattern first and send back the complete set you want it to have. Sending an empty pattern clears it, which returns the page type to its Wix default.

This method changes a pattern that already exists rather than creating one. For a page type still on its Wix default, call Create SEO Pattern instead.

A pattern has no revision, and the site's SEO settings in the dashboard write to the same pattern. The last write wins, so retrieve the pattern immediately before writing it.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage SEO Settings
Learn more about app permissions.
Endpoint
PATCH
https://www.wixapis.com/seo-metatags-server/v1/seo-patterns/{pageType}

Errors
400Invalid Argument

There are 5 errors with this status code.

404Not Found

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?