Delete a product
delete_productRemove a product from a location and clean up its category references. Preview changes with dry-run before applying the deletion.
Instructions
Remove a product from the location. Category references are cleaned up.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Preview by default. Apply requires the exact returned planDigest. | dry-run |
| productId | Yes | ||
| locationId | No | ||
| planDigest | No | Exact digest returned by a dry-run of the same arguments. | |
| confirmationToken | No | Required exact phrase for destructive, paid, or release operations. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| mode | Yes | ||
| status | Yes | ||
| changes | Yes | ||
| summary | Yes | ||
| operation | Yes | ||
| planDigest | Yes | ||
| environment | Yes | ||
| nextActions | Yes | ||
| schemaVersion | Yes |