Skip to main content

Create a deployment

POST 

/products/{product_id}/tags.json


Upload a new version of the product (for WordPress products only). The endpoint supports only the multipart/form-data content type and expects two payloads: file and data.

  • file - The zip file containing the product. For WordPress plugins or themes this must contain the root directory.
  • data - Please omit this when deploying WordPress plugins and themes. In case of deploying templates and widgets, this needs to be a stringified JSON and must have the version and requires_platform_version properties.

An example of the data property:

{"version": "2.0.0", "requires_platform_version": "1.0.0"}

After you have created a deployment, please send another PUT request to the newly created version to update the release_status to either released or beta. The default value is pending which means none of the customers will be able to see the new version.

You can learn more about the deployment process here.

Request

Responses

OK