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: localinventory

Resource: LocalInventory

Local inventory resource. For accepted attribute values, see the local product inventory feed specification.

JSON representation
{
  "storeCode": string,
  "price": {
    object (Price)
  },
  "salePrice": {
    object (Price)
  },
  "salePriceEffectiveDate": string,
  "availability": string,
  "quantity": integer,
  "pickupMethod": string,
  "pickupSla": string,
  "instoreProductLocation": string,
  "kind": string
}
Fields
storeCode

string

Required. Store code of this local inventory resource.

price

object (Price)

Price of the product.

salePrice

object (Price)

pos.sale price of the product. Mandatory if salePriceEffectiveDate is defined.

salePriceEffectiveDate

string

A date range represented by a pair of ISO 8601 dates separated by a space, comma, or slash. Both dates may be specified as 'null' if undecided.

availability

string

Availability of the product. For accepted attribute values, see the local product inventory feed specification.

quantity

integer (uint32 format)

Quantity of the product. Must be nonnegative.

pickupMethod

string

Supported pickup method for this offer. Unless the value is "not supported", this field must be submitted together with pickupSla. For accepted attribute values, see the local product inventory feed // specification.

pickupSla

string

Expected date that an order will be ready for pickup relative to the order date. Must be submitted together with pickupMethod. For accepted attribute values, see the local product inventory feed specification.

instoreProductLocation

string

In-store product location.

kind

string

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

Methods

custombatch

Updates local inventory for multiple products or stores in a single request.

insert

Updates the local inventory of a product in your Merchant Center account.