Skip to main content
PATCH
Updates an existing product. You can also use POST for this endpoint (will be deprecated in the future).

Path Parameters

string
required
The ID of the product to update.

Request Body

string
The new ID of the product. Used to rename the product ID.
string
The name of the product.
string
The description of the product.
boolean
Whether the product is an add-on.
boolean
Whether the product is the default product.
string
Product group which this product belongs to.
boolean
Archive this product using this flag. Archived products are hidden on the dashboard.
array
Array of product items that define the product’s features and pricing. Updates the entire items array.
object
Free trial configuration for this product.

Response

string
The ID of the product.
string
The name of the product.
string
Product group which this product belongs to.
string
The environment of the product.
boolean
Whether the product is an add-on.
boolean
Whether the product is the default product.
boolean
Whether this product has been archived.
number
The current version of the product.
number
The timestamp of when the product was created.
array
Array of product items that define the product’s features and pricing.
object
Free trial configuration for this product, if available.
string
ID of the base variant this product is derived from.
enum
Scenario for when this product is used in attach flows.
object
Additional product properties.