unpublish_collection
Remove a Shopify collection from one or more sales channels. Provide the collection ID and publication IDs to control where the collection appears.
Instructions
Unpublish a collection from sales channels
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>",
"publicationIds": "<publicationIds>"
},
"name": "unpublish_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Collection ID (e.g., 'gid://shopify/Collection/123456789') | |
| publicationIds | Yes | Array of publication IDs to unpublish from |