ghl_product_delete
Deletes a product from GoHighLevel by product ID and location ID, removing it from the system when it is no longer needed.
Instructions
Delete Product by ID The "Delete Product by ID" API allows deleting a specific product using its unique identifier. Use this endpoint to remove a product from the system. Endpoint: DELETE /products/{productId} (Version header: v3; source: v3/products-v3.json) Requires an Agency or Sub-Account token. OAuth scopes: products.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": {
"productId": "<productId>",
"locationId": "<locationId>"
},
"name": "ghl_product_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| productId | Yes | ID or the slug of the product that needs to be returned | |
| locationId | Yes | location Id | |
| sendWishlistStatus | No | Parameter which will decide whether to show the wishlisting status of products |