Bulk Enable SaaS
POST/saas/bulk-enable-saas/:companyId
Enable SaaS mode for multiple locations with support for both SaaS v1 and v2
Request
Version stringrequired
API Version
Available options
2021-07-28companyId stringrequired
- application/json
- Body
- Example (auto)
Bodyrequired
locationIdsstring[]required
Array of location IDs to enable SaaS for
isSaaSV2booleanrequired
Indicates if the SaaS is V2
actionPayloadobjectrequired
Action payload for the bulk enable SaaS operation
{
"locationIds": [
"locationId1",
"locationId2"
],
"isSaaSV2": true,
"actionPayload": {
"priceId": "price_1QDPY5FpU9DlKp7RQ8BXfywx",
"stripeAccountId": "acct_1QDPY5FpU9DlKp7RQ8BXfywx",
"saasPlanId": "66c4d36534f21f900dc2a265",
"providerLocationId": "r06mdj4OrrERzYDvsOdh"
}
}