REST Resource: accounts.products.regionalInventories

Resource: RegionalInventory

Regional inventory information for the product. Represents specific information like price and availability for a given product in a specific region. For a list of all accepted attribute values, see the regional product inventory data specification.

JSON representation
{
  "name": string,
  "account": string,
  "region": string,
  "regionalInventoryAttributes": {
    object (RegionalInventoryAttributes)
  }
}
Fields
name

string

Output only. The name of the RegionalInventory resource. Format: {regionalInventory.name=accounts/{account}/products/{product}/regionalInventories/{region}

account

string (int64 format)

Output only. The account that owns the product. This field will be ignored if set by the client.

region

string

Required. Immutable. ID of the region for this RegionalInventory resource. See the Regional availability and pricing for more details.

regionalInventoryAttributes

object (RegionalInventoryAttributes)

Optional. A list of regional inventory attributes.

RegionalInventoryAttributes

Regional inventory attributes.

JSON representation
{
  "price": {
    object (Price)
  },
  "salePrice": {
    object (Price)
  },
  "salePriceEffectiveDate": {
    object (Interval)
  },
  "availability": enum (Availability)
}
Fields
price

object (Price)

Optional. Price of the product in this region.

salePrice

object (Price)

Optional. Sale price of the product in this region. Mandatory if [salePriceEffectiveDate][RegionalInventory.sale_price_effective_date] is defined.

salePriceEffectiveDate

object (Interval)

Optional. The TimePeriod of the sale price in this region.

availability

enum (Availability)

Optional. Availability of the product in this region.

Availability

Availability of the product in this region.

Enums
REGIONAL_INVENTORY_AVAILABILITY_UNSPECIFIED Indicates that the availability is unspecified.
IN_STOCK Indicates that the product is in stock.
OUT_OF_STOCK Indicates that the product is out of stock.

Methods

delete

Deletes the specified RegionalInventory resource from the given product in your merchant account.

insert

Inserts a RegionalInventory to a given product in your merchant account.

list

Lists the RegionalInventory resources for the given product in your merchant account.