POST

Create Url Mapping


Developer Preview

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

Creates a URL mapping for one type of item page.

A site can have one URL mapping per key. The business solution doesn't need to be installed on the site yet. The pattern applies to the item pages once it's installed.

The change is live on the site right away. On a published site, the item pages' old URLs stop working, so create redirects from them with Bulk Create Redirects.

Authentication

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

Permission Scopes
Manage SEO Settings
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/url-mapper/writer/v1/url-mapping/{key}

Errors
400Invalid Argument

There is 1 error with this status code.

409Already Exists

There are 2 errors with this status code.

428Failed Precondition

There is 1 error with this status code.

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

Did this help?