Resource: RegionalInventory
Regional inventory information for the product. Represents specific information like price and availability for a given product in a specific . For a list of all accepted attribute values, see the regional product inventory data specification.region
| JSON representation |
|---|
{
"name": string,
"account": string,
"region": string,
"regionalInventoryAttributes": {
object ( |
| Fields | |
|---|---|
name |
Output only. The name of the The The format of the
We recommend using the Encoded Format for all product IDs to ensure correct parsing, especially those containing special characters. The presence of tilde ( Note: For calls to the v1beta version, the plain format for the product segment is |
account |
Output only. The account that owns the product. This field will be ignored if set by the client. |
region |
Required. Immutable. ID of the region for this |
regionalInventoryAttributes |
Optional. A list of regional inventory attributes. |
RegionalInventoryAttributes
Regional inventory attributes.
| JSON representation |
|---|
{ "price": { object ( |
| Fields | |
|---|---|
price |
Optional. Price of the product in this region. |
salePrice |
Optional. Sale price of the product in this region. Mandatory if [ |
salePriceEffectiveDate |
Optional. The |
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 |
|
|---|---|
|
Deletes the specified RegionalInventory resource from the given product in your merchant account. |
|
Inserts a RegionalInventory to a given product in your merchant account. |
|
Lists the RegionalInventory resources for the given product in your merchant account. |