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

Custom Field Mapping · API2Cart

Custom Field Mapping Across eCommerce Platforms

Every store has custom fields — Shopify metafields, WooCommerce custom attributes, Magento EAV attributes. API2Cart provides access to all of them.

Custom Field Mapping

Beyond standard fields, merchants heavily customize their stores — and this is often where the real business logic lives.

API2Cart exposes platform-specific custom fields through the additional_fields mechanism, giving your application full access across every platform.

How it works

How Custom Field Mapping Works in API2Cart

  • response_fields parameter: request exactly the custom fields you need
  • Shopify metafields: namespace, key, value, and type via product.info
  • Magento 2 EAV: custom attributes returned as part of the product response
  • Writable: product.update accepts additional_fields to write custom data back
Custom Field Mapping Across eCommerce Platforms flow diagram
GET /v1.1/product.info.json

Example request

?id=123&response_fields={result{product{*}}}
# Response includes:
# "additional_fields": {
#   "metafield_color": "Red",
#   "custom_brand": "Nike"
# }

Use Cases for Custom Field Mapping

01

Product Feed Enrichment

Pull custom fields (brand, material, color) into shopping feeds.

02

B2B Commerce

Access minimum order qty, wholesale price, company name.

03

Industry-Specific Data

Wine: region, vintage. Apparel: size chart. Electronics: specs.

04

Analytics & Segmentation

Use custom customer fields for advanced segmentation.

Supported Platforms
Shopify · WooCommerce · Magento 2 · BigCommerce · PrestaShop · OpenCart · Wix · Squarespace · Ecwid · Lightspeed · + 65 more

Frequently asked questions

The things people ask before using Custom Field Mapping.

How do I get custom fields in a product response?

Add response_fields={result{product{*}}} to your request.

Can I write custom fields back?

Yes — product.update accepts additional_fields.

Is additional_fields structured the same across platforms?

Normalized where possible; native format otherwise — nothing is lost.

Are Shopify metafield namespaces supported?

Yes — filter by namespace and key.

Access every custom field from every platform — all through one API.

Explore the full API2Cart API reference.

How do I get custom fields in a product response?

Add response_fields={result{product{*}}} to your request.

Can I write custom fields back?

Yes — product.update accepts additional_fields.

Is additional_fields structured the same across platforms?

Normalized where possible; native format otherwise — nothing is lost.

Are Shopify metafield namespaces supported?

Yes — filter by namespace and key.