We will sunset v2 of the Content API on March 29th, 2021. To avoid disruptions with your integration, please migrate to v2.1 as soon as possible. For more information, see Migrating to v2.1.

REST Resource: liasettings

Resource: LiaSettings

Local pos.inventory ads (LIA) settings. All methods except listposdataproviders require the admin role.

JSON representation
{
  "accountId": string,
  "countrySettings": [
    {
      object (LiaCountrySettings)
    }
  ],
  "kind": string
}
Fields
accountId

string

The ID of the account to which these LIA settings belong. Ignored upon update, always present in get request responses.

countrySettings[]

object (LiaCountrySettings)

The LIA settings for each country.

kind

string

Identifies what kind of resource this is. Value: the fixed string "content#liaSettings"

LiaCountrySettings

JSON representation
{
  "country": string,
  "inventory": {
    object (LiaInventorySettings)
  },
  "onDisplayToOrder": {
    object (LiaOnDisplayToOrderSettings)
  },
  "hostedLocalStorefrontActive": boolean,
  "storePickupActive": boolean,
  "about": {
    object (LiaAboutPageSettings)
  },
  "posDataProvider": {
    object (LiaPosDataProvider)
  }
}
Fields
country

string

Required. CLDR country code (e.g. "US").

inventory

object (LiaInventorySettings)

LIA inventory verification settings.

onDisplayToOrder

object (LiaOnDisplayToOrderSettings)

LIA "On Display To Order" settings.

hostedLocalStorefrontActive

boolean

The status of the "Merchant hosted local storefront" feature.

storePickupActive

boolean

The status of the "Store pickup" feature.

about

object (LiaAboutPageSettings)

The settings for the About page.

posDataProvider

object (LiaPosDataProvider)

The POS data provider linked with this country.

LiaInventorySettings

JSON representation
{
  "status": string,
  "inventoryVerificationContactName": string,
  "inventoryVerificationContactEmail": string,
  "inventoryVerificationContactStatus": string
}
Fields
status

string

The status of the inventory verification process.

Acceptable values are:

  • "active"
  • "inactive"
  • "pending"

inventoryVerificationContactName

string

The name of the contact for the inventory verification process.

inventoryVerificationContactEmail

string

The email of the contact for the inventory verification process.

inventoryVerificationContactStatus

string

The status of the verification contact.

Acceptable values are:

  • "active"
  • "inactive"
  • "pending"

LiaOnDisplayToOrderSettings

JSON representation
{
  "status": string,
  "shippingCostPolicyUrl": string
}
Fields
status

string

The status of the ?On display to order? feature.

Acceptable values are:

  • "active"
  • "inactive"
  • "pending"

shippingCostPolicyUrl

string

Shipping cost and policy URL.

LiaAboutPageSettings

JSON representation
{
  "status": string,
  "url": string
}
Fields
status

string

The status of the verification process for the About page.

Acceptable values are:

  • "active"
  • "inactive"
  • "pending"

url

string

The URL for the About page.

LiaPosDataProvider

JSON representation
{
  "posDataProviderId": string,
  "posExternalAccountId": string
}
Fields
posDataProviderId

string

The ID of the POS data provider.

posExternalAccountId

string

The account ID by which this merchant is known to the POS data provider.

Methods

custombatch

Retrieves and/or updates the LIA settings of multiple accounts in a single request.

get

Retrieves the LIA settings of the account.

getaccessiblegmbaccounts

Retrieves the list of accessible Google My Business accounts.

list

Lists the LIA settings of the sub-accounts in your Merchant Center account.

listposdataproviders

Retrieves the list of POS data providers that have active settings for the all eiligible countries.

requestgmbaccess

Requests access to a specified Google My Business account.

requestinventoryverification

Requests inventory validation for the specified country.

setinventoryverificationcontact

Sets the inventory verification contract for the specified country.

setposdataprovider

Sets the POS data provider for the specified country.

update

Updates the LIA settings of the account.