Update a product.
Scopes: products:write
You can generate an Organization Access Token from your organization's settings.
The product ID.
Schema to update a product.
Key-value object allowing you to store additional information.
The key must be a string with a maximum length of 40 characters. The value must be either:
You can store up to 50 key-value pairs.
The interval unit for the trial period.
day, week, month, year The number of interval units for the trial period.
1 <= x <= 1000The name of the product.
3The description of the product.
The recurring interval of the product. If None, the product is a one-time purchase. Can only be set on legacy recurring products. Once set, it can't be changed.
day, week, month, year Number of interval units of the subscription. If this is set to 1 the charge will happen every interval (e.g. every month), if set to 2 it will be every other month, and so on. Once set, it can't be changed.**
1 <= x <= 999Whether the product is archived. If true, the product won't be available for purchase anymore. Existing customers will still have access to their benefits, and subscriptions will continue normally.
List of available prices for this product. If you want to keep existing prices, include them in the list as an ExistingProductPrice object.
A price that already exists for this product.
Useful when updating a product if you want to keep an existing price.
List of file IDs. Each one must be on the same organization as the product, of type product_media and correctly uploaded.
List of custom fields to attach.
Product updated.
A product.
The ID of the object.
Creation timestamp of the object.
Last modification timestamp of the object.
The interval unit for the trial period.
day, week, month, year The number of interval units for the trial period.
The name of the product.
The description of the product.
The recurring interval of the product. If None, the product is a one-time purchase.
day, week, month, year Number of interval units of the subscription. If this is set to 1 the charge will happen every interval (e.g. every month), if set to 2 it will be every other month, and so on. None for one-time products.
Whether the product is a subscription.
Whether the product is archived and no longer available.
The ID of the organization owning the product.
List of prices for this product.
A recurring price for a product, i.e. a subscription.
Deprecated: The recurring interval should be set on the product itself.
List of benefits granted by the product.
A benefit of type custom.
Use it to grant any kind of benefit that doesn't fit in the other types.
List of medias associated to the product.
List of custom fields attached to the product.