How to Fix a Local Product Inventory Feed When an Item Shows Out of Stock Nearby

    A Brooklyn shop has four bags on the shelf. Its inventory export assigns them to a product and a store that Google cannot match. Follow the two-row repair from the stockroom to the processed offer.

    By Alex Ng, SEO Specialist•November 24, 2026•8 min read
    Brooklyn’s local inventory row changes from DAY20 and bk-01 to DAY20-CHAR and BK-01. The four sellable units stay the same.

    A customer calls the Brooklyn shop about a charcoal daypack. The associate can see four on the shelf. The retailer’s local listing offers no evidence that one is available nearby. Both screens can be telling the truth about the records they received. The useful question is which record connects that particular bag to that particular store.

    To optimize a local product inventory feed, start with the pair of identifiers that makes a local offer possible. The product ID connects the record to the primary catalog. The store code connects it to a location in the linked Google Business Profile. Only after both resolve can a price, a stock count or a pickup promise describe an offer a shopper could actually buy. Google’s local inventory upload guide

    One product, two stores, one missing offer

    Consider a fictional US retailer with two shops, Brooklyn and Queens. Both sell the 20-liter charcoal Daypack for $68 before tax. The catalog ID for that variant is DAY20-CHAR. Brooklyn has four units available to sell. Queens has sold its last one. These facts form the acceptance test for the repair. The inventory export should identify exactly one location with available stock and leave Queens sold out.

    The three CSV downloads reproduce the example. Open them as text or import their columns as plain text into a spreadsheet. They are working files for this exercise. For a production submission, use the file format and delivery method configured for your Merchant Center data source. A two-row sample would be an unsafe replacement for a full store assortment.

    Step 1. Reconstruct the offer at the time of the complaint

    Ask the store associate for the selected color and size, location, price, fulfillment method and time. A black bag in the back room may be the 28-liter version. Stock held for an online order may still be physically on the shelf. A shopper looking for pickup today needs a different commitment from someone willing to wait for delivery to the store. Resolve those questions before changing the feed.

    In this example the reference file has columns for the primary catalog ID, the store code recorded in Business Profile, the POS location, sellable quantity, price and snapshot time. The POS calls the Brooklyn location BKN. Its public store code is BK-01. Queens uses QNS internally and QN-02 publicly. That two-column store mapping is worth keeping as a separate operational record. A store rename can otherwise become an accidental change of identity.

    Take two independent readings. In the commerce platform, find the exact daypack variant and its exported primary ID. In the store system, ask whether all four units are available for a new sale. Record any allocations separately. If three units are already reserved, the number the shopper can buy is one. Save these readings with the original export so a later sale cannot change the facts of the incident.

    Step 2. Find the identifiers that failed to match

    Open the broken file. The Brooklyn record carries DAY20 and bk-01. Its quantity and price look plausible. The product value is a family code, while the catalog identifies the sellable charcoal variant as DAY20-CHAR. The lowercase store code also differs from the case-sensitive linked location. A downstream system cannot reliably attach those four units to the intended local offer. Google specifies an exact product ID match and a case-sensitive store code. Local inventory data specification

    Use Queens as a control. It already uses DAY20-CHAR and QN-02, and its zero quantity agrees with the stockroom. A bulk edit that marks every row for this daypack available would turn a missing Brooklyn offer into a false promise in Queens. A repair that passes only the Brooklyn check is incomplete.

    If the identifiers appear identical in a spreadsheet, inspect the raw strings. Leading zeros can disappear during import. An invisible trailing space can make two codes look identical. One common diagnostic is to compare the character lengths and display each value between two visible delimiters. Keep the original value alongside the proposed correction so the person maintaining the upstream mapping can see exactly what changed.

    Step 3. Correct the join at its source

    For Brooklyn, export the variant’s primary ID and translate the POS location through the verified store map. Keep price, currency and quantity attached to that specific pair. The corrected rows below are the full contents of the after file.

    Code
    id,store_code,availability,quantity,price
    DAY20-CHAR,BK-01,in_stock,4,68.00 USD
    DAY20-CHAR,QN-02,out_of_stock,0,68.00 USD

    Google’s specification classifies a submitted quantity of zero as out of stock, one or two units as limited availability, and three or more as in stock. If both quantity and availability are supplied, Google uses the lower classification. A row saying in_stock with zero units is therefore a poor candidate for a fix that only changes the text label. Investigate which upstream field was stale. Google’s quantity and availability rules

    Make the correction in the export mapping or source integration. A hand edit is useful for proving the hypothesis in a working copy. At the next scheduled export, a mapping that still emits the family ID will recreate the original failure. If a feed provider performs the transformation, send it the before row, the expected row, and both authoritative IDs. That evidence is much easier to act on than a screenshot of a missing listing.

    Step 4. Verify what changed after processing

    First compare the staged production file with the previous successful export. Count unique product-and-store pairs, inspect any losses, and check for duplicates. Two rows with different quantities for the same pair leave the business with two competing versions of its own promise. Check that nearby stores and other colors of the same bag retain their expected values.

    Submit the complete corrected source through the retailer’s normal update path. Record the batch or upload time. In Merchant Center, inspect the source processing result and any reported issues for the affected offer. Verify the product ID and location on the processed record where the interface exposes them. An accepted file can still hold a wrong quantity that passed a format check. Compare the processed values with the saved store snapshot, then check the latest inventory if sales have occurred since.

    Finally, test the public shopping journey in the correct location. Open the variant page, select Brooklyn, and confirm the visible price, local status and fulfillment promise. Repeat the same steps for Queens. Keep the store, observation time and screenshot together. A public search impression depends on other factors, so seeing the expected data in the merchant account and storefront is a more useful repair criterion than waiting for a particular search result.

    When the IDs match and the offer still looks wrong

    The retail system treats all stock as sellable

    Follow one transaction from reservation to pickup. A unit may leave the pool available for sale when an order is accepted, long before someone scans it at the collection desk. Look at the order timestamps and the next export. If an overnight stock snapshot repeatedly republishes reservations as sellable units, the inventory and order systems need to agree on the point at which stock is committed.

    The changed store has just been linked

    Check the Business Profile linkage and the time of the change. Google advises allowing up to 24 hours for a new or changed store code to synchronize before uploading its inventory. Repeatedly changing a correctly formatted code during this window makes the history harder to interpret. Keep one known value, record when the location changed, and check the subsequent processing result. Google’s store synchronization guidance

    The page defaults to shipping availability

    A national warehouse can fulfill tomorrow’s parcel while Brooklyn is sold out. Open the exact landing URL in a new session and select the shopper’s location. Watch which number changes. If location selection updates a pickup banner but leaves a national availability badge beside the buy button, record the two messages separately. A merchandiser may be able to fix the copy even while engineering works on how the selected location is represented in the page data.

    The item is in stock but pickup today is unavailable

    A shop may hold inventory while its pickup desk is closed or fully booked. Document the latest order time, preparation interval and fulfillment options for that location. Check the specific pickup program’s requirements before adding pickup attributes to the export. Promising same-day collection on every in-stock row ignores the operations that turn a shelf unit into a prepared order. Google’s store pickup attributes

    Make the repair repeatable across the assortment

    Start your next feed review with counts a store manager can understand. How many inventory rows reference a product missing from the primary source? How many point to an unknown location? How many confirmed sellable units sit behind those failed matches? The last number helps prioritize a handful of broken rows that hide a busy shop’s best sellers over thousands of legitimately empty combinations.

    Then inspect a few pairs that passed. Choose a fast seller, a recently renamed location and a variant with one unit remaining. Compare the newest stock event with the export time and the time the update finished processing. This separates a reliable nightly file arriving too late for a fast-selling item from a genuinely defective mapping. The operational fix may be a faster update for a narrow set of items.

    For Brooklyn, success means the same variant, store and four-unit snapshot can be followed from the store system into the processed offer. Queens still shows zero. Save those two rows as a regression example and repeat the check after the next scheduled run. It is an inexpensive way to learn whether the fix survived the next export. The local inventory optimization entry covers the broader merchant controls for refresh timing, fulfillment promises and low-stock exceptions.

    References & Further Reading

    Continue Exploring

    Stay Updated

    Get the latest intelligence on zero-click commerce delivered weekly.

    Get in Touch

    Have questions or insights to share? We'd love to hear from you.

    © 2026 Zero Click Project. All rights reserved.