> ## Documentation Index
> Fetch the complete documentation index at: https://docs.global-e.com/llms.txt
> Use this file to discover all available pages before exploring further.

# EU Product Identifiers

Part of the [EU Customs Reform - Product Identifiers (PID)](/eu-product-identifiers-pid).

On Centra, `standardcode` is read automatically from the native Centra barcode field (GTIN for DTC, EAN for Checkout API) — no custom attribute needed for it. `mididentifier` is stored on each variant using the `ge_variant_data` custom attribute. Both are mapped at checkout. Your SKU is already sent separately, so there is no new SKU field to add. Do not use the US MID fields for EU PID.

For what each identifier is, see [The three identifiers](/eu-product-identifiers-pid#the-three-identifiers) on the overview page.

## What you need to do

1. **Create the Global-e attribute type.** In Centra, navigate to **System**, then **Configuration**, click **Create attribute type**

   <Frame>
     <img src="https://mintcdn.com/globale-enterprise/oqal72MN88mO9lN7/images/eu-product-identifiers/centra-create-attribute-type.png?fit=max&auto=format&n=oqal72MN88mO9lN7&q=85&s=15b12530165f20f39b552f2b3ee3dd24" width="1919" height="129" data-path="images/eu-product-identifiers/centra-create-attribute-type.png" />
   </Frame>

   and add `ge_variant_data` (**Global-E Variant Information**) using the definition below.

   ```
   {
     "desc": "Global-E Variant Information",
     "readonly": false,
     "group": "variation",
     "elements": {
       "mid_identifier": {
         "type": "input",
         "desc": "Global-E Manufacturer Product Code"
       }
     }
   }
   ```

2. **Populate the values per variant.** Open the product, navigate to the **Variants** tab and click on the variant name, then **Custom attributes**. On each variant, fill Global-E Manufacturer Product Code when you have a value to send.

   <Frame>
     <img src="https://mintcdn.com/globale-enterprise/ppAqaW1d41r_3dOu/images/eu-product-identifiers/centra-variant-custom-attributes.png?fit=max&auto=format&n=ppAqaW1d41r_3dOu&q=85&s=3c4ae61ed29b30b1aefa78152e29809e" width="1117" height="633" data-path="images/eu-product-identifiers/centra-variant-custom-attributes.png" />
   </Frame>

3. **DTC merchants only:** navigate to **Platform**, then **Stores management**, then **Stores**,

   <Frame>
     <img src="https://mintcdn.com/globale-enterprise/oqal72MN88mO9lN7/images/eu-product-identifiers/centra-stores-management.png?fit=max&auto=format&n=oqal72MN88mO9lN7&q=85&s=e871eb202074a2afb3a2243890c1db36" width="459" height="326" data-path="images/eu-product-identifiers/centra-stores-management.png" />
   </Frame>

   open your store, then **Plugins**, then **DTC API**, then **View**.

   <Frame>
     <img src="https://mintcdn.com/globale-enterprise/oqal72MN88mO9lN7/images/eu-product-identifiers/centra-dtc-api-view.png?fit=max&auto=format&n=oqal72MN88mO9lN7&q=85&s=080a916d637fda2f5dd56e759f1141c9" width="1023" height="126" data-path="images/eu-product-identifiers/centra-dtc-api-view.png" />
   </Frame>

   Under **Display item attributes**, search `global-e variant` and select **Global-E Manufacturer Product Code**

   <Frame>
     <img src="https://mintcdn.com/globale-enterprise/oqal72MN88mO9lN7/images/eu-product-identifiers/centra-display-item-attributes.png?fit=max&auto=format&n=oqal72MN88mO9lN7&q=85&s=0cac648a70ad6a3db959fad5aafe36b0" width="998" height="181" data-path="images/eu-product-identifiers/centra-display-item-attributes.png" />
   </Frame>

   then click **Save.**

   <Frame>
     <img src="https://mintcdn.com/globale-enterprise/oqal72MN88mO9lN7/images/eu-product-identifiers/centra-storefront-api-save.png?fit=max&auto=format&n=oqal72MN88mO9lN7&q=85&s=c28abd35fc9928f1b1108443785d9e99" width="1036" height="126" data-path="images/eu-product-identifiers/centra-storefront-api-save.png" />
   </Frame>

   Checkout API merchants skip this step.

4. **Place a test order** and confirm the values appear when populated and are omitted when blank.

| Sent as | What it holds | When to leave it out |
| - | - | - |
| **`standardcode`** | The barcode for that size, read from the native GTIN (DTC) or EAN (Checkout API) field in Centra | When the native barcode field is empty — the key is omitted automatically. |
| **`mididentifier`** | The manufacturer's product code for that variant | Never. This is required on every line. |

<h2 id="where-standardcode-comes-from">
  Where `standardcode` comes from
</h2>

| API | Source |
| - | - |
| DTC (GraphQL) | Native **GTIN** field on each size/item in Centra. Populated via your ERP or PIM integration. |
| Checkout API | Native **EAN** field on each size in Centra. Visible in the product editor under **Variants →** Manage Stock → Size Info. |

No custom attribute configuration is required for `standardcode`. If the native field is empty, the key is omitted automatically.

**EAN field location in Centra**

<Frame>
  <img src="https://mintcdn.com/globale-enterprise/ppAqaW1d41r_3dOu/images/eu-product-identifiers/centra-ean-size-info.png?fit=max&auto=format&n=ppAqaW1d41r_3dOu&q=85&s=155ed5efcb4974a52133b282cde494eb" width="780" height="482" data-path="images/eu-product-identifiers/centra-ean-size-info.png" />
</Frame>

EAN is entered per size under Manage Stock → Size Info on each product variant in Centra.

## Key points

**One pair of values per variant.** Populate each variant that can appear in the cart. A value on the parent product alone is not enough when the variant has no value of its own.

In Centra you see Global-E Manufacturer Product Code under Custom attributes on the variant. The integration maps it to `mididentifier` (lowercase) at checkout. `standardcode` is mapped automatically from the native barcode field — no custom attribute needed.

**The catalog setup is the same for DTC (GraphQL) and Checkout API.** DTC has one extra step: select Global-E Manufacturer Product Code under store, **DTC API**, **Display item attributes**, then **Save**.

**Omit, don't fake.** When a variant has no value, leave it blank. Never enter an empty placeholder such as NA, 0 or -.

**When values are read:** at checkout. Updated variant values apply on that SKU's next checkout.

<h2 id="quick-check-before-go-live">
  Quick check before go-live
</h2>

| Check | Done |
| - | - |
| `ge_variant_data` attribute type created | ☐ |
| Global-E Manufacturer Product Code populated on each variant | ☐ |
| Native EAN (Checkout API) or GTIN (DTC) filled for each size in Centra | ☐ |
| `standardcode` and `mididentifier` appear in SendCart when values exist | ☐ |
| Keys omitted (not empty) when a variant has no value | ☐ |
| Each variant in the cart sends its own pair | ☐ |
| DTC only: **Global-E Manufacturer Product Code** selected under store, **DTC API**, **View**, and saved | ☐ |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.