E-commerce
Product Listing JSON Example
A ready-to-use JSON example for a product listing object — includes SKU, pricing, inventory, images, and categories. Perfect for e-commerce catalog APIs. Copy-ready structure.
Field Reference
idrequiredstringUnique product identifier with prod_ prefixskurequiredstringStock Keeping Unit — unique per variant combinationbasePricerequirednumberRegular selling price before any sale discountsalePriceoptionalnumberDiscounted price shown when onSale is truestockQuantityrequiredintegerCurrent available units across all warehousescategoriesrequiredarray<string>Hierarchical category breadcrumb for the productvariantsoptionalarray<object>Size, color, or other attribute variants with per-variant stockratingoptionalobjectAggregate review rating with score and review countVariants
MinimalBare-minimum product record with only ID, name, price, and stock.
ExtendedFull product with variants, SEO metadata, related products, and shipping class.
Common Use Cases
- →Powering a product detail page (PDP) via a GET /products/:id API response
- →Indexing product data into a search engine like Elasticsearch or Algolia
- →Generating structured data (schema.org/Product) for Google Shopping
productcatalogSKUinventorye-commerce
Validate or format this JSON
One click loads this exact example into the tool — no copy-paste needed. Format it, validate it, explore the tree, or generate TypeScript types instantly.
Frequently Asked Questions
Related JSON Examples
E-commerceE-commerce OrderFull e-commerce order JSON with line items, pricing, shipping, and payment status.E-commercePayment TransactionPayment transaction with amount, method, gateway reference, and refund history.BusinessInvoiceBusiness invoice JSON with line items, GST breakdown, payment terms, and totals.