ghl_product_price_delete
Delete a specific price from a product by providing the product ID, price ID, and location ID. Use it to remove outdated or incorrect product pricing from the system.
Instructions
Delete Price by ID for a Product The "Delete Price by ID for a Product" API allows deleting a specific price associated with a particular product using its unique identifier. Use this endpoint to remove a price from the system. Endpoint: DELETE /products/{productId}/price/{priceId} (Version header: v3; source: v3/products-v3.json) Requires an Agency or Sub-Account token. OAuth scopes: products/prices.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>",
"priceId": "<priceId>",
"locationId": "<locationId>"
},
"name": "ghl_product_price_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| priceId | Yes | ID of the price that needs to be returned | |
| productId | Yes | ID of the product that needs to be used | |
| locationId | Yes | location Id |