REST Resource: regionalinventory

  • The RegionalInventory resource allows you to manage product information specific to different regions, such as price, sale price, availability, and custom attributes.

  • It includes fields like regionId, price, salePrice, salePriceEffectiveDate, availability, customAttributes, and kind.

  • You can interact with this resource using methods like custombatch to update inventory for multiple products or regions, and insert to update inventory for a specific product within a region.

  • The RegionalInventory resource is represented in JSON format with specific data types for each field, and detailed documentation is available on the linked pages.

Resource: RegionalInventory

Regional inventory resource. contains the regional name and all attributes which are overridden for the specified region.

JSON representation
{
  "regionId": string,
  "price": {
    object (Price)
  },
  "salePrice": {
    object (Price)
  },
  "salePriceEffectiveDate": string,
  "availability": string,
  "customAttributes": [
    {
      object (CustomAttribute)
    }
  ],
  "kind": string
}
Fields
regionId

string

The ID uniquely identifying each region.

price

object (Price)

The price of the product.

salePrice

object (Price)

The 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 might be specified as 'null' if undecided.

availability

string

The availability of the product.

customAttributes[]

object (CustomAttribute)

A list of custom (merchant-provided) attributes. It can also be used for submitting any attribute of the feed specification in its generic form.

kind

string

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

Methods

custombatch

Updates regional inventory for multiple products or regions in a single request.

insert

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