Create product price
ghl_create_product_priceAdd a price to a product, choosing one-time or recurring billing and specifying amount and currency.
Instructions
Add a price to a product. type 'one_time' for a single charge or 'recurring' for a subscription. amount is in the smallest practical unit of the currency as accepted by GHL (typically major units, e.g. 49.99).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Price name/label, e.g. 'Standard'. | |
| type | No | one_time | |
| amount | Yes | Price amount, e.g. 49.99. | |
| currency | No | USD | |
| productId | Yes | ||
| locationId | No | GHL Location (sub-account) ID. Defaults to GHL_LOCATION_ID. |