A SKU (stock keeping unit) is a seller’s own code for one product or one variant, such as one size and colour. Schema.org defines it as a merchant-specific identifier for a product or service. Unlike a GTIN barcode number, which comes from the manufacturer, you choose your SKUs yourself, and the same SKU should follow the product everywhere it appears.
What is a SKU? #
A SKU is the label your shop uses to tell one item from another. One helmet in two sizes and two colours is four SKUs, because each one is stocked, counted and sold on its own. The code means nothing outside your business. That is the point: it is yours, it never has to wait for a manufacturer, and you can make it readable, such as HLM-AERO-M-BLK.
SKU, GTIN and MPN: what is the difference? #
| Code | Who sets it | What it is for |
|---|---|---|
| SKU | You, the seller | Your own code for one product or variant |
| GTIN | The manufacturer | The barcode number. Google lists UPC (12 digits), EAN (13), JAN (8 or 13), ISBN (13) and ITF-14 (14) |
| MPN | The manufacturer | The manufacturer’s part number |
A SKU does not replace a GTIN. Give both when the product has a barcode. Google says some products have no GTIN, and then you do not need to submit one. It also says: when in doubt, do not provide a GTIN, and never guess or make one up. See barcode look-up.
Why does it matter for search? #
A SKU ties the same product together across your shop, your stock list and your shopping feed. In Google Merchant Center, every product needs an id, and Google recommends using your SKU for it. In product structured data, Google lists sku as a recommended property, “the merchant-specific identifier for the product”, with at most one value. Clean codes help Google match your page, your feed and your free product listings to the same item.
Why does it matter for AI answers? #
AI shopping tools read feeds and pages too. OpenAI’s product feed for ChatGPT asks for an item_id: a stable ID, unique per item or variant in your feed, and it still accepts id or sku as other names for it. It also asks you to update prices and availability in the feed when they change. A stable SKU lets an AI tool keep the right price and stock against the right variant. See agentic commerce and selling through ChatGPT.
What are Google’s rules for the id? #
- Required for each product, 1 to 50 characters.
- ASCII letters, numbers, underscores and dashes are recommended.
- Each different product needs its own ID.
- Once you assign an ID, do not change it. Google says changing it overwrites the product and its performance history.
- IDs are case-sensitive, but do not use casing to make them unique: IDs that differ only by case may be treated as one product.
How do variants work? #
Variants share one group code. Merchant Center’s item_group_id is required for variants in free listings, and in Shopping ads aimed at Brazil, France, Germany, Japan, the United Kingdom and the United States. Like the id, it can be 1 to 50 characters. Google says to use the parent SKU as the item group ID for all variants, and not to submit the parent SKU as a separate product. OpenAI’s feed has a matching group_id, and says it must differ from each item ID. See Shopping ads.
A worked example #
A bike shop sells one helmet in two sizes and two colours. That is four variants, so four SKUs, each with the manufacturer’s own barcode, and one parent SKU as the group code:
| Variant | SKU (yours, used as id) |
GTIN | item_group_id |
|---|---|---|---|
| Helmet, medium, black | HLM-AERO-M-BLK | Barcode on the box | HLM-AERO |
| Helmet, large, black | HLM-AERO-L-BLK | Barcode on the box | HLM-AERO |
| Helmet, medium, red | HLM-AERO-M-RED | Barcode on the box | HLM-AERO |
| Helmet, large, red | HLM-AERO-L-RED | Barcode on the box | HLM-AERO |
The SKU reads like a label, so staff can tell the variant at a glance. The group code is what tells Google these are versions of one helmet. The parent, HLM-AERO, is never listed as a product of its own.
How does it look in the page code? #
Google’s product variant guide uses a ProductGroup with productGroupID, “also known as the parent sku”, variesBy (such as size or colour) and hasVariant for each variant. Google says each variant must have a unique ID in its markup, such as sku or gtin, and that the site must be able to preselect each variant with its own URL, using URL query parameters. A short version of one variant, in JSON-LD:
{
"@type": "Product",
"name": "Aero helmet, medium, black",
"sku": "HLM-AERO-M-BLK",
"gtin13": "the 13 digits on the box"
}
Google asks for the GTIN in numerical form. Put the real digits there, never your SKU. See schema markup and URL parameters.
Where else does a SKU travel? #
One product can appear in many places: your shop, Merchant Center, a Meta catalogue, marketplaces and AI shopping feeds built for standards such as ACP and checkouts like instant checkout. The SKU is the thread that joins them. When the price changes in your shop, the same SKU tells every feed which row to update. When codes drift apart, an AI tool can quote an old price, which is one route to an AI hallucination about your shop.
What happens when a SKU is discontinued? #
Retire the code, do not reuse it. If the product page goes for good, return a 404 or 410, or redirect to the closest replacement (see 404 and 410 and 301 vs 302 redirects). Avoid a page that says “not found” but returns 200, a soft 404. Remove the item from your feeds at the same time.
Common mistakes #
- Putting the SKU in the GTIN field, or inventing a GTIN. Both can lead to Merchant Center disapprovals.
- Reusing an old SKU for a new product, so the old history lands on the wrong item.
- Renaming SKUs during a shop move. Plan it with moving a website without losing traffic.
- Different codes on the page and in the feed, so the facts no longer match.
- Variant pages that all show the same text, which can look like duplicate content. Use a canonical tag where the pages are truly the same.
- Copying the manufacturer’s description onto every variant. See duplicate product descriptions.
How to check it #
- Give every variant its own SKU, and never reuse an old one for a different product.
- Open a product page and look for
"sku"in the JSON-LD. Our Schema Markup Checker shows it, and the structured data facts extractor lists the facts in the markup. No markup yet? The schema generator writes it. - Run the Product Page Checker for schema, images, reviews, delivery info and AI readiness on one product.
- Check the SKU on the page matches the
idin your feed. Our product feed checker lists merchant feed errors. - Run the AI Consistency Checker to see whether the page, schema, llms.txt and feeds state the same facts.
- Check the GTIN field holds the barcode number, not your SKU, and that every variant carries the same
item_group_id. - Check variant URLs: the Canonical Tag Checker for the canonical, the Crawl Trap Checker for filter links that make endless pages (see faceted navigation), and the Redirect Checker after any URL change.
- Check the XML Sitemap Checker lists the product pages you want found. See XML sitemap.
- Selling in the UK? The UK Shop Compliance Checker looks at unit prices, returns, company details and delivery.
Single checks on each tool page: free, no account (2 a day). The full audit: a free account (sign in with an emailed code), 1 a day. In URSY Pro, opening in stages: the product schema monitor, merchant listings and AI shopping feeds.
What URSY.com counts #
We count reads, not products. A bot reading the same page 10 times is 10 requests, and “pages read” counts each address once. We never store query strings, only the path, so variant URLs that differ only by a query parameter count as one path. AI crawlers are sorted into training, search and fetch-for-a-person. The rules are on our methodology page.
Questions #
Is a SKU the same as a barcode? #
No. The barcode number is a GTIN, set by the manufacturer. The SKU is your own code. A product can have both.
Can I use the manufacturer’s part number as my SKU? #
You can, as long as each variant still gets its own code. Keep the MPN in its own field as well. OpenAI’s feed says not to invent an MPN to replace a missing GTIN.
Can I change my SKUs later? #
You can, but Google says changing a product’s id overwrites the product and its performance history. Pick a scheme you can live with.
How long should a SKU be? #
Google allows 1 to 50 characters for the id. Short codes made of letters, numbers and dashes are easiest for staff and software.
Related words #
- GTIN (barcode number)
- Product structured data
- Shopping feed
- Google Merchant Center
- Merchant Center disapprovals
- Free product listings
- Ecommerce SEO
- Agentic commerce
Sources #
- Schema.org: sku, checked 24 November 2026
- Merchant Center Help: ID [id], checked 24 November 2026
- Merchant Center Help: Item group ID [item_group_id], checked 24 November 2026
- Merchant Center Help: GTIN [gtin], checked 24 November 2026
- Google Search Central: Merchant listing structured data, checked 24 November 2026
- Google Search Central: Product variant structured data, checked 24 November 2026
- OpenAI for developers: Product feed spec, checked 24 November 2026
Updated 24 November 2026 by URSY.com.
Cite this page: What Is a SKU?. URSY. Updated 26 November 2026. https://ursy.com/wiki/what-is-a-sku/ · Section links
Tools for this
- LiveAI Readiness Checkeris your site ready for ChatGPT, Gemini, Claude? Score + fixesRun the check →
- LiveAI Bot Checkerwhich AI bots your robots.txt lets inRun the check →
- LiveRobots.txt Checker + Generatortest any address against your rules, or write new onesRun the check →
- LiveSchema Markup CheckerRun the check →