gohighlevel-php-sdk

Business Resource

Business

The Business class provides a comprehensive set of methods for managing business entities within the GoHighLevel platform. You can perform all standard CRUD (Create, Read, Update, Delete) operations on businesses, as well as retrieve businesses filtered by location.


update(string $businessId, array $params = []): array|string

This method updates an existing business entity. You can modify various properties of the business by passing them in the $params array.


delete(string $businessId): array|string

This method permanently deletes a business from the GoHighLevel account.


get(string $businessId): array|string

This method retrieves the details of a single business by its ID.


getByLocation(string $locationId): array|string

This method retrieves a list of all businesses associated with a specific location.


create(string $name, string $locationId, array $params = []): array|string

This method creates a new business entity. You must provide the business name and a location to which it belongs.