Update a product
update_productModify product name, description, image, metadata, license settings, or active status; set active to false to stop selling without deleting the product. Requires a test key.
Instructions
Update a product.
Set active: false to stop selling it; products are never deleted (invoices point at them).
Test keys only: refused with a live key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The object's id. | |
| name | No | ||
| active | No | ||
| metadata | No | Your own key–value pairs (≤ 50 keys, values ≤ 500 characters). On an update they are merged in; an empty value removes its key. | |
| image_url | No | ||
| description | No | ||
| issues_license | No | Issue a license key with every purchase. | |
| license_activation_limit | No |