Local inventory information for the product. Represents in-store information for a specific product at the store specified by storeCode. For a list of all accepted attribute values, see the local product inventory data specification.
Output only. The account that owns the product. This field will be ignored if set by the client.
storeCode
string
Required. Immutable. Store code (the store ID from your Business Profile) of the physical store the product is sold in. See the Local product inventory data specification for more information.
A list of custom (merchant-provided) attributes. You can also use CustomAttribute to submit any attribute of the data specification in its generic form.
Quantity of the product available at this store. Must be greater than or equal to zero.
pickupMethod
string
Supported pickup method for this product. Unless the value is "not
supported", this field must be submitted together with pickupSla. For accepted attribute values, see the local product inventory data specification
pickupSla
string
Relative time period from the order date for an order for this product, from this store, to be ready for pickup. Must be submitted with pickupMethod. For accepted attribute values, see the local product inventory data specification
instoreProductLocation
string
Location of the product inside the store. Maximum length is 20 bytes.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-31 UTC."],[[["\u003cp\u003e\u003ccode\u003eLocalInventory\u003c/code\u003e resource represents in-store information for a specific product at a given store, allowing management of local product availability and pricing.\u003c/p\u003e\n"],["\u003cp\u003eIt includes details like price, sale price, availability, quantity, pickup options, and custom attributes, adhering to the local product inventory data specification.\u003c/p\u003e\n"],["\u003cp\u003eYou can manage \u003ccode\u003eLocalInventory\u003c/code\u003e using methods to insert, delete, and list inventory data for specific products in your merchant account.\u003c/p\u003e\n"]]],["LocalInventory provides in-store product details, using a `storeCode` to specify the store. Key data includes the product's `price`, `salePrice`, `availability`, and `quantity`. It also contains information such as `pickupMethod`, `pickupSla`, and `instoreProductLocation`. Supported actions include deleting, inserting, and listing LocalInventory resources for a specific product within a merchant account. Data can be represented in JSON format and can also contain customer-defined attributes.\n"],null,["# REST Resource: accounts.products.localInventories\n\n- [Resource: LocalInventory](#LocalInventory)\n - [JSON representation](#LocalInventory.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: LocalInventory\n------------------------\n\nLocal inventory information for the product. Represents in-store information for a specific product at the store specified by [`storeCode`](/merchant/api/reference/rest/inventories_v1beta/accounts.products.localInventories#LocalInventory.FIELDS.store_code). For a list of all accepted attribute values, see the [local product inventory data specification](https://support.google.com/merchants/answer/3061342).\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"account\": string, \"storeCode\": string, \"price\": { object (/merchant/api/reference/rest/Shared.Types/Price) }, \"salePrice\": { object (/merchant/api/reference/rest/Shared.Types/Price) }, \"salePriceEffectiveDate\": { object (/merchant/api/reference/rest/Shared.Types/Interval) }, \"customAttributes\": [ { object (/merchant/api/reference/rest/Shared.Types/CustomAttribute) } ], \"availability\": string, \"quantity\": string, \"pickupMethod\": string, \"pickupSla\": string, \"instoreProductLocation\": string } ``` |\n\n| Fields ||\n|---------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Output only. The name of the `LocalInventory` resource. Format: `accounts/{account}/products/{product}/localInventories/{storeCode}` |\n| `account` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Output only. The account that owns the product. This field will be ignored if set by the client. |\n| `storeCode` | `string` Required. Immutable. Store code (the store ID from your Business Profile) of the physical store the product is sold in. See the [Local product inventory data specification](https://support.google.com/merchants/answer/3061342) for more information. |\n| `price` | `object (`[Price](/merchant/api/reference/rest/Shared.Types/Price)`)` Optional. Price of the product at this store. |\n| `salePrice` | `object (`[Price](/merchant/api/reference/rest/Shared.Types/Price)`)` Optional. Sale price of the product at this store. Mandatory if [`salePriceEffectiveDate`](/merchant/api/reference/rest/inventories_v1beta/accounts.products.localInventories#LocalInventory.FIELDS.sale_price_effective_date) is defined. |\n| `salePriceEffectiveDate` | `object (`[Interval](/merchant/api/reference/rest/Shared.Types/Interval)`)` Optional. The `TimePeriod` of the sale at this store. |\n| `customAttributes[]` **(deprecated)** | `object (`[CustomAttribute](/merchant/api/reference/rest/Shared.Types/CustomAttribute)`)` | This item is deprecated! A list of custom (merchant-provided) attributes. You can also use `CustomAttribute` to submit any attribute of the data specification in its generic form. |\n| `availability` | `string` Availability of the product at this store. For accepted attribute values, see the [local product inventory data specification](https://support.google.com/merchants/answer/3061342) |\n| `quantity` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Quantity of the product available at this store. Must be greater than or equal to zero. |\n| `pickupMethod` | `string` Supported pickup method for this product. Unless the value is `\"not supported\"`, this field must be submitted together with `pickupSla`. For accepted attribute values, see the [local product inventory data specification](https://support.google.com/merchants/answer/3061342) |\n| `pickupSla` | `string` Relative time period from the order date for an order for this product, from this store, to be ready for pickup. Must be submitted with `pickupMethod`. For accepted attribute values, see the [local product inventory data specification](https://support.google.com/merchants/answer/3061342) |\n| `instoreProductLocation` | `string` Location of the product inside the store. Maximum length is 20 bytes. |\n\n| Methods ------- ||\n|---------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------|\n| ### [delete](/merchant/api/reference/rest/inventories_v1beta/accounts.products.localInventories/delete) | Deletes the specified `LocalInventory` from the given product in your merchant account. |\n| ### [insert](/merchant/api/reference/rest/inventories_v1beta/accounts.products.localInventories/insert) | Inserts a `LocalInventory` resource to a product in your merchant account. |\n| ### [list](/merchant/api/reference/rest/inventories_v1beta/accounts.products.localInventories/list) | Lists the `LocalInventory` resources for the given product in your merchant account. |"]]