Skip to main content
Version: 2023-02-21

Enable SaaS for Sub-Account (Formerly Location)

POST 

/saas-api/public-api/enable-saas/:locationId

deprecated

This endpoint has been deprecated and may be replaced or removed in future versions of the API.

Enable SaaS for Sub-Account (Formerly Location) based on the data provided

info

This feature is only available on Agency Pro ($497) plan.

Request

Version stringrequired

API Version

Available options2023-02-21
locationId stringrequired

Location ID to enable SaaS for

application/json

Bodyrequired

    stripeAccountIdstring

    Stripe account id(Required only for SaaS V1)

    namestring

    Name of the stripe customer(Required only for SaaS V1)

    emailstring

    Email of the stripe customer(Required only for SaaS V1)

    stripeCustomerIdstring

    Stripe customer id if exists(Required only for SaaS V1)

    companyIdstringrequired
    isSaaSV2booleanrequired

    Denotes if it is a saas v2 or v1 sub-account

    contactIdstring

    Agency subaccount used for payment provider integration(Required Only for SaaS V2)

    providerLocationIdstring

    Agency Subaccount ID

    descriptionstring

    Description

    saasPlanIdstring

    Required only while pre-configuring saas subscription

    priceIdstring

    Required only while pre-configuring saas subscription

application/json

SaaS enabled successfully for location

Schema
    dataobjectrequired

    Response data from the enable SaaS operation