Guide8 min read
What an API is in e-commerce, and why it matters
An API lets stores and marketplaces exchange data with other systems. A plain guide to REST APIs, webhooks and API keys, and what sellers get from them.
Guide
Use a SKU to identify a variant in your own inventory. Use the assigned GTIN to identify that trade item across sales channels.
A SKU (stock keeping unit) is your internal stock key. A GTIN (Global Trade Item Number) is the global identifier of a trade item and has 8, 12, 13 or 14 digits. EAN-13 is the barcode that encodes a GTIN-13. GS1.
Give each variant its own SKU. A blue T-shirt sold in sizes S and M can use TEE-BLUE-S and TEE-BLUE-M.
Match each SKU with the GTIN assigned to that exact variant and packaging quantity. In Google Merchant Center, fill the gtin attribute only when the item has an assigned GTIN. Copy it exactly from the brand owner's data or the packaging. Never make up a GTIN or reuse one from another variant. Google Merchant Center Help.
In a CSV file, treat the GTIN column as text so spreadsheet software preserves every digit, including leading zeros. Check the format required by the receiving system. For example, GS1 XML requires a 14-digit field, so shorter GTINs are padded with leading zeros. A leading zero turns the GTIN-13 9780471384298 from the GS1 ISBN example into 09780471384298. GS1 EDI, GS1 ISBN.
Before a full sync, test one variant such as TEE-BLUE-M in your test environment.
If a supplier gave you the GTIN, use Verified by GS1 to check who the number is assigned to and view product details when available. Verified by GS1.
FAQ
Use the GTIN assigned to the exact variant and packaging quantity you sell, copied digit for digit. If the item has no assigned GTIN, omit the GTIN attribute.
Check the original file, pack label or supplier record. Reimport the column as text and follow the destination field's length requirements.
See how NavyFlame connects product records and stock with sales channels.
We use cookies to keep the site working, to measure traffic and to personalise content. Read more in our privacy policy.
Necessary cookies keep the site working. Analytics and marketing cookies only start with your consent. Details.
Manage preferences