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 theversionandrequires_platform_versionproperties.
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_statusto eitherreleasedorbeta. The default value ispendingwhich means none of the customers will be able to see the new version.
You can learn more about the deployment process here.
Request
Responses
- 200
- 400
- 401
- 402
- 404
OK
Bad request. The request could not be understood by the server due to malformed syntax or arguments.
Unauthorized access error. The request requires authentication but was not provided or the provided authentication does not satisfy the required permissions.
The request is missing the specified argument.
The requested resource was not found.