ghl_product_collection_delete
Delete a specific product collection by its collection ID and location token. Removes the specified collection from the sub-account to manage product data.
Instructions
Delete Product Collection Delete specific product collection with Id :collectionId Endpoint: DELETE /products/collections/{collectionId} (Version header: v3; source: v3/products-v3.json) Requires a Sub-Account (location) token. OAuth scopes: products/collection.write
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": {
"collectionId": "<collectionId>",
"altId": "<altId>",
"altType": "<altType>"
},
"name": "ghl_product_collection_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| altId | Yes | Location Id | |
| altType | Yes | The type of alt. For now it is only LOCATION | |
| collectionId | Yes | MongoId of the collection |