GoHighLevel::init($access_token)->withVersion('2021-04-15')
->withHttpHeader('channel','OAUTH')
->withHttpHeader('source','INTEGRATION')
->make()->Saas()->get([
'companyId' => '',
'subscriptionId' => '',
'customerId' => ''
]);
GoHighLevel::init($access_token)->withVersion('2021-04-15')
->withHttpHeader('channel','OAUTH')
->withHttpHeader('source','INTEGRATION')
->make()->Saas()->update($locationid,[
'companyId' => '',
'subscriptionId' => '',
'customerId' => ''
]);
$client = GoHighLevel::init($access_token)
->withVersion('2021-07-28')
->withHttpHeader('channel','OAUTH')
->withHttpHeader('source','INTEGRATION')
->make()->Saas()->enable($locationId,[
//body
]);
$client = GoHighLevel::init($access_token)
->withVersion('2021-07-28')
->withHttpHeader('channel','OAUTH')
->withHttpHeader('source','INTEGRATION')
->make()->Saas()->disable($locationId, [
'locationIds' => ''
]);
$client = GoHighLevel::init($access_token)
->withVersion('2021-04-15')
->withHttpHeader('channel','OAUTH')
->withHttpHeader('source','INTEGRATION')
->make()->Saas()->pause($locationId, [
'paused' => true
'companyId' => ''
]);
$client = GoHighLevel::init($access_token)
->withVersion('2021-04-15')
->withHttpHeader('channel','OAUTH')
->withHttpHeader('source','INTEGRATION')
->make()->Saas()->updateRebilling($companyId, [
'product' => true
'locationIds' => ''
'config' => ''
]);