ghl_product_get
Retrieve a single product's details by product ID or slug and location ID, including optional wishlist status, to view or verify product information.
Instructions
Get Product by ID The "Get Product by ID" API allows to retrieve information for a specific product using its unique identifier. Use this endpoint to fetch details for a single product based on the provided product ID. Endpoint: GET /products/{productId} (Version header: v3; source: v3/products-v3.json) Requires an Agency or Sub-Account token. OAuth scopes: products.readonly
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_get"
}
}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 |