Managing Extended Information with Metafields

How to manage furigana, birthdate, and other information needed for Japanese EC sites using Shopify metafields

metafieldShopifyextended informationfurigana
4 min read

About This Article

Shopify customer data includes standard fields (name, email, address, etc.), but Japanese EC sites often require additional information. This article explains how to manage this using Shopify's metafield functionality.

Additional Information Needed for Japanese EC

Why Standard Fields Are Insufficient

Shopify is a foreign product and doesn't support Japan-specific customer information.

What Are Metafields

Concept Explanation

Metafields allow you to add custom information to Shopify's standard data. You can store custom information for various objects like customers, products, and orders.

Shopify Customer Data Structure
Standard Fields

Name (first_name, last_name), Email (email), Phone (phone), Address (addresses)

Metafields (Addable)

Furigana (custom definition), Birth date (custom definition), Gender (custom definition), Other (freely addable)

Metafield Structure

Metafields are organized by "namespace" and "key".

Design Points

Namespace Design

Namespaces are used to group related information.

Choosing Data Types

Set appropriate data types for metafields.

Operational Benefits

Viewing in Shopify Admin

Metafields can be viewed and edited from the Shopify admin panel.

Customer support can view all information from the admin panel.

API Retrieval and Updates

Metafield retrieval and updates are easy with the GraphQL API.

API Operation Image
Customer info request

"Please provide info for customer ID: 12345"

Response

Returns standard fields (first_name, last_name) + metafields (furigana, birth_date, etc.)

Update request

"Update birth date for customer ID: 12345"

Update complete

Saved to Shopify

Implementation Considerations

Validation

Data validation is required before saving to metafields.

Data Migration from Existing Customers

When migrating data from an existing system, the following steps are needed.

Extract data

Export customer data from existing system

Convert data

Convert to Shopify metafield format

Validate

Verify converted data

Test migration

Verify operation with small data set

Production migration

Register all data to Shopify

Benefits of This Feature

For Operations

  • No need to build additional database
  • Centralized management in Shopify admin
  • Automatic integration possible via API

Development Benefits

  • Standard feature, no additional cost
  • Easy retrieval and update with GraphQL API
  • Easy future expansion