> To build or manage a Wix site with an AI agent, follow https://www.wix.com/headless/skill.md
> It builds a new Wix site or puts your own site online, from a prompt, and keeps changing it afterwards. The pages are code in any web technology, and Wix runs the backend.
> It works through the Wix plugin (the Wix MCP and the Wix skills), the Wix CLI or no Wix login, and puts the site live on Wix hosting or on another host.
> Business features include a store, bookings, events and tickets, a restaurant, a blog, forms, members and many more.
> Read the Wix skills online at https://www.wix.com/skills
> 
> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

# Resource: Gbplocation V1

# Type: Gbplocation Object

# Link: https://dev.wix.com/docs/api-reference/business-management/google-business-profile/gbplocation-v1/gbplocation-object.md

## Description: A GBP location is a site's stable record of one Google Business Profile
location.

It holds the identifiers and operational metadata needed to work with that
location on Google's behalf. It doesn't store the Google-owned profile data
itself: name, address, opening hours, photos, reviews, attributes and insights
are all retrieved live from Google on each call, so they're never stale here
and never edited here.

`id` is Google's own location identifier, so you can use it to correlate a
location with data you retrieve from Google directly.

The only personal data on a GBP location is `serviceAreaPostalAddress`, which
is set for service-area businesses. It's often a home address, so it's stored
encrypted and is covered by the site's data-deletion requests.

A Google account must be connected before locations can be imported, and before
any call that reads or writes a specific location's profile. See the
[Connection API](https://dev.wix.com/docs/api-reference/business-management/google-business-profile/connection-v1.md).

Two methods work without a connection, because they read Google's public catalog
rather than a site's own profile: Search Google Locations, and List Attribute
Metadata when called with `categoryRegion`. Both are useful before a site owner
has connected anything.

## Schema:

```json
 Type: Gbplocation Object | type: GBPLocation
 Description: A GBP location is a site's stable record of one Google Business Profile
location.

It holds the identifiers and operational metadata needed to work with that
location on Google's behalf. It doesn't store the Google-owned profile data
itself: name, address, opening hours, photos, reviews, attributes and insights
are all retrieved live from Google on each call, so they're never stale here
and never edited here.

`id` is Google's own location identifier, so you can use it to correlate a
location with data you retrieve from Google directly.

The only personal data on a GBP location is `serviceAreaPostalAddress`, which
is set for service-area businesses. It's often a home address, so it's stored
encrypted and is covered by the site's data-deletion requests.

A Google account must be connected before locations can be imported, and before
any call that reads or writes a specific location's profile. See the
[Connection API](https://dev.wix.com/docs/api-reference/business-management/google-business-profile/connection-v1.md).

Two methods work without a connection, because they read Google's public catalog
rather than a site's own profile: Search Google Locations, and List Attribute
Metadata when called with `categoryRegion`. Both are useful before a site owner
has connected anything.
       - name: id  | type: string | description: Google's opaque location identifier on the public API.
       - name: accountId  | type: string | description: ID of the Google Business Profile account that holds this location, what Google calls a location group.  One site can have locations in more than one account, because a single Google login can own several.
       - name: serviceAreaPostalAddress  | type: PostalAddress | description: Saved postal address for service-area businesses. Used as the `context` parameter in Google's FetchVerificationOptions call for service-area verification flows. Null for storefront businesses.
           - name: countryCode  | type: string | description: ISO 3166-1 alpha-2 country code (e.g. "US", "GB").
           - name: postalCode  | type: string | description: Postal/ZIP code.
           - name: administrativeArea  | type: string | description: Administrative area (state, province, region).
           - name: locality  | type: string | description: City or locality.
           - name: addressLines  | type: Array<string> | description: Street address lines. Up to 5 lines.
       - name: createdDate  | type: string | description: Date and time the location was imported into Wix.
           - name: seconds  | type: string | description: 
           - name: nanos  | type: number | description: 
       - name: updatedDate  | type: string | description: Date and time the location was last updated.
       - name: revision  | type: string | description: Revision number, incremented on every update. Used for optimistic locking.
       - name: googleLocationId  | type: string | description: Google's location identifier for this location, the same value as `id`. Filter and sort on this field in Query GBP Locations.
       - name: feedEntityId  | type: string | description: Identity this location is published under in Google partner feeds, used as the entity ID, merchant ID or parent entity ID across Reserve with Google, Order with Google and Dine with Google.  Can be set once. A location that already has a value keeps it, and a request that tries to change it is rejected: Google has already ingested the value as the merchant's identity, so changing it withdraws the business from those feeds and can remove its booking and ordering buttons. Setting it on a location that doesn't have one yet is allowed.  Locations created through this API are given a value automatically, so you usually don't need to set it. Specify it only when migrating a location whose identity Google already knows.
           - name: value  | type: string | description: 

```