To use the Locations API, install the @wix/business-tools package using npm or Yarn:
@wix/business-tools
or
Then import { locations } from @wix/business-tools:
{ locations }