update_product
Rename a project's product or replace its store and web identifiers. A field left out or
null keeps its value. The product's type is fixed: to change it, delete_product and
create_product again. Campaigns that already copied the product keep what they copied. The
project must be active, and you must be a member of it or a workspace admin, with workspace
permission to edit projects.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
product_idrequired | string (uuid) | — | The product to change, from get_project or create_product. |
name | string1–∞ chars | — | A new name for the product; null keeps the current one. |
identifiers | ProductIdentifier[] | — | The store and web identities the product is known by, in the form create_product takes. Replaces every identifier the product has, so pass the ones to keep too; an empty list removes them all; null keeps them. |
typerequired | enum | — | One of: url, steam, apple, google, shopify |
identifierrequired | string1–512 chars | — |