delete_product
Remove or archive a product by UUID. Hard deletion cascades to variants, so unsync it from channels first to avoid orphan listings; set archive_only to archive instead.
Instructions
Delete (default) or archive a product. Hard delete cascades to variants; if the product is synced to channels, unsync it first to avoid orphan listings — unsync_from_channel for one channel, archive_product for all of them. (sync_to_channel cannot unsync; it only syncs.)
[#020483]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | No | ||
| archive_only | No | Default false (hard delete). | |
| product_uuid | Yes |