Have questions? Leave your message here or Schedule a quick call with our manager now

Working with Product Types and Variants Across eCommerce Platforms

Working with Product Types and Variants Across eCommerce Platforms

Updated 7 July 2026 | Yuriy Klymyk

Summary: API2Cart's product variants API provides a unified model for all product types across platforms. This article gives a high-level overview of how different platforms structure products and variants, and links to detailed guides for implementation.

The Challenge: Every Platform Structures Products Differently

If you build a product sync, PIM, or listing tool, you quickly discover that every eCommerce platform has its own way of organizing products:

  • Shopify — Products with up to 100 variants, defined by up to 3 options (Size, Color, Material)
  • Magento — Simple, Configurable, Bundle, Grouped, Virtual, and Downloadable product types with EAV attributes
  • WooCommerce — Simple, Variable, Grouped, and External products with global and per-product attributes
  • BigCommerce — Products with options at the SKU level, modifier options, and variant rules
  • PrestaShop — Products with combinations (attribute groups + attributes)

API2Cart normalizes all these structures into a consistent parent-product + child-items model that your application can work with uniformly.

API2Cart’s Unified Product Model

Regardless of the underlying platform, API2Cart represents products as:

  • Parent product — the main item with name, description, base price, images, categories
  • Child items (variants) — specific SKUs with their own price, quantity, and option combinations (e.g., Size: L + Color: Blue)
  • Options — the configurable attributes that define variant combinations

This means Shopify "variants", Magento "configurable product children", WooCommerce "variations", and BigCommerce "SKU-level variants" are all accessed through the same set of methods.

Key Methods Overview

TaskMethod
List productsproduct.list
Get product detailsproduct.info
List variants (child items)product.child_item.list
Get variant detailsproduct.child_item.info
List product optionsproduct.option.list
Add a productproduct.add
Add variantsproduct.variant.add
Add/manage optionsproduct.option.add
Bulk product operationsproduct.add.batch, product.update.batch

Detailed Implementation Guides

For step-by-step instructions on working with products and variants, see these documentation articles:

Platform Comparison: What Gets Mapped Where

API2Cart ConceptShopifyMagentoWooCommerceBigCommerce
Parent productProductConfigurable ProductVariable ProductProduct
Child itemVariantSimple Product (child)VariationSKU/Variant
OptionOption (Size, Color)Configurable AttributeAttribute (for variations)Product Option
Option valueOption value (S, M, L)Attribute valueTermOption value

Practical Tips

  • Always use product.child_item.list (not the deprecated product.variant.list) for retrieving variants
  • Use the params parameter to request only the fields you need — this speeds up responses for large catalogs
  • When creating products with variants, the workflow is: create parent → add options → add option values → add variants
  • For bulk operations, use product.add.batch and product.variant.add.batch to process up to 250 items per request
  • Check platform API comparison to see which product parameters are supported on each platform

The product variants API works consistently across all 70+ supported platforms. For the complete parameter reference, see the API2Cart documentation.

Related Articles