saas_api_enable_saas_location
Enable SaaS for a GHL sub-account (location) using agency credentials. Configures V1/V2, Stripe, plans, and customer details.
Instructions
Enable SaaS for Sub-Account (Formerly Location) (requires an agency-level token, not a location PIT)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name of the stripe customer(Required only for SaaS V1) | |
| No | Email of the stripe customer(Required only for SaaS V1) | ||
| priceId | No | Required only while pre-configuring saas subscription | |
| isSaaSV2 | Yes | Denotes if it is a saas v2 or v1 sub-account | |
| companyId | Yes | ||
| contactId | No | Agency subaccount used for payment provider integration(Required Only for SaaS V2) | |
| locationId | No | Defaults to GHL_LOCATION_ID when omitted. | |
| saasPlanId | No | Required only while pre-configuring saas subscription | |
| description | No | Description | |
| stripeAccountId | No | Stripe account id(Required only for SaaS V1) | |
| stripeCustomerId | No | Stripe customer id if exists(Required only for SaaS V1) | |
| providerLocationId | No | Agency Subaccount ID |