Google Merchant Center local inventories table

Overview

Local inventories data allows merchants to export their local offers of their products to BigQuery. This data includes pricing, availability, and quantity of the product along with the information about pick-up and product in-store location.

The format of local inventories data corresponds primarily to the format of the relevant fields of the Content API's localinventory resource.

Depending on the type of Merchant account that you use, the data is written to one of the following tables:

  • If you are using an individual Merchant ID, then the data is written to the LocalInventories_MERCHANT_ID table.
  • If you are using an MCA account, then the data is written to the LocalInventories_AGGREGATOR_ID table.

Schema

The LocalInventories_ tables have the following schema:

ColumnBigQuery data typeDescriptionExample data
product_idSTRINGContent API's REST ID of the product in the form: channel:content_language:feed_label:offer_id. This field is a primary key.online:en:AU:666840730
merchant_idINTEGERMerchant account ID. This field is a primary key.
aggregator_idINTEGERID of the Multi Client Account (MCA).
store_codeSTRINGStore code of this local inventory resource.
priceRECORDLocal price of the item.
price.valueNUMERICLocal price of the item.99
price.currencySTRINGCurrency of the local price of the item.CHF
sale_priceRECORDLocal sale price of the item.
sale_price.valueNUMERICLocal sale price of the item.49
sale_price.currencySTRINGCurrency of the local sale price of the item.CHF
sale_price_effective_start_dateTIMESTAMPStart date and time when the item is on sale.2021-03-30 00:00:00 UTC
sale_price_effective_end_dateTIMESTAMPEnd date and time when the item is on sale.2021-04-14 00:00:00 UTC
availabilitySTRINGLocal availability status of the item.out of stock
quantityINTEGERQuantity of the item.500
pickup_methodSTRINGSupported pick-up method of the item.ship to store
pickup_slaSTRINGExpected elapsed time between the order date and the date that the item is ready for pickup.three days
instore_product_locationSTRINGIn-store location of the item.