---
title: "POST /localinventory/batch"
method: POST
path: "/localinventory/batch"
tags: ["localinventory"]
---

# POST /localinventory/batch

`POST /localinventory/batch`

Updates local inventory for multiple products or stores in a single request.

## Request body

- LocalinventoryCustomBatchRequest
  - `entries` LocalinventoryCustomBatchRequestEntry[] — The request entries to be processed in the batch.
    - `localInventory` LocalInventory — Local inventory resource. For accepted attribute values, see the local product inventory feed specification.
      - `price` Price
        - `value` string — The price represented as a number.
        - `currency` string — The currency of the price.
      - `quantity` integer — The quantity of the product. Must be nonnegative.
      - `kind` string — Identifies what kind of resource this is. Value: the fixed string "`content#localInventory`"
      - `pickupSla` string — The expected date that an order will be ready for pickup relative to the order date. Must be submitted together with `pickupMethod`. For accepted attribute values, see the local product inventory feed specification.
      - `salePrice` Price
        - `value` string — The price represented as a number.
        - `currency` string — The currency of the price.
      - `instoreProductLocation` string — The in-store product location.
      - `availability` string — The availability of the product. For accepted attribute values, see the local product inventory feed specification.
      - `pickupMethod` string — The supported pickup method for this offer. Unless the value is "not supported", this field must be submitted together with `pickupSla`. For accepted attribute values, see the local product inventory feed specification.
      - `customAttributes` CustomAttribute[] — A list of custom (merchant-provided) attributes. Can also be used to submit any attribute of the feed specification in its generic form, for example, `{ "name": "size type", "value": "regular" }`.
        - `groupValues` CustomAttribute[] — Subattributes within this attribute group. Exactly one of value or groupValues must be provided.
        - `name` string — The name of the attribute. Underscores will be replaced by spaces upon insertion.
        - `value` string — The value of the attribute.
      - `storeCode` string — Required. The store code of this local inventory resource.
      - `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.
    - `batchId` integer — An entry ID, unique within the batch request.
    - `merchantId` string, uint64 — The ID of the managing account.
    - `method` string — Method of the batch request entry. Acceptable values are: - "`insert`"
    - `productId` string — The ID of the product for which to update local inventory.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/content.md) · [All operations](https://skmtc.net/google/apis/content/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/content/revisions/1033388fc86f/schema)
