ghl_course_get_offer
Retrieve a membership course offer by ID for a specific location using a courses.readonly sub-account token.
Instructions
COURSES API — the {productId} path parameter is the course (product) id. Get Offer Get a membership offer by id. Requires a Location token with courses.readonly. Send Version: v3. Default-offer rows (source other than membership) return 404. Endpoint: GET /courses/offers/{offerId} (Version header: v3; source: v3/courses-v3.json) Requires a Sub-Account (location) token. OAuth scopes: courses.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": {
"offerId": "<offerId>",
"locationId": "<locationId>"
},
"name": "ghl_course_get_offer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offerId | Yes | Offer id | |
| locationId | Yes | Location id or sub-account id is required. |