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' => ''
]);