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.

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.

pickupSla

string

Expected date that an order will be ready for pickup relative to the order date. Must be submitted together with pickupMethod.

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

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