products_update_product_by_id
Update product attributes—name, type, prices, labels, taxes, SEO—by providing the product ID or slug.
Instructions
Update Product by ID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seo | No | SEO data for the product that will be displayed in the preview | |
| name | Yes | The name of the product. | |
| slug | No | The slug using which the product navigation will be handled | |
| image | No | The URL for the product image. | |
| label | No | Details for Product Label | |
| taxes | No | List of ids of Taxes attached to the Product. If taxes are passed, isTaxesEnabled should be true. | |
| medias | No | An array of medias for the product. | |
| prices | No | The prices of the product | |
| variants | No | An array of variants for the product. | |
| productId | Yes | ID or the slug of the product that needs to be returned | |
| locationId | No | The unique identifier for the location. Defaults to GHL_LOCATION_ID when omitted. | |
| description | No | A brief description of the product. | |
| productType | Yes | ||
| taxInclusive | No | Whether the taxes should be included in the purchase price | |
| collectionIds | No | An array of category Ids for the product | |
| isLabelEnabled | No | Is the product label enabled. If this is true, label object cannot be empty. | |
| isTaxesEnabled | No | Are there any taxes attached to the product. If this is true, taxes array cannot be empty. | |
| availableInStore | No | Indicates whether the product is available in-store. | |
| statementDescriptor | No | The statement descriptor for the product. | |
| automaticTaxCategoryId | No | Tax category ID for Automatic taxes calculation. |