delete_collection
Permanently remove a collection from Shopify. Products inside are not deleted; only the grouping is removed. Irreversible action requires collection ID.
Instructions
Permanently delete a collection. Products inside it are NOT deleted — only the grouping is removed; products keep all their other associations (other collections, tags, inventory). Irreversible. Confirm the collection ID with get_collection before calling. Returns the deleted collection ID, or a 'nothing deleted' message if the GID didn't match anything.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | GID of the collection to delete. The collection's products are NOT deleted, only the collection grouping. Irreversible. |