> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.shopify.customers.CreateCustomer

- Component: `appmixer.shopify.customers.CreateCustomer`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.shopify 4.1.0](https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.shopify/4.1.0/component/appmixer.shopify.customers.CreateCustomer>

Create a customer, optionally with an address, email marketing consent, tax exemptions and metafields.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| First Name (`firstName`) | text | The customer's first name. |
| Last Name (`lastName`) | text | The customer's last name. |
| Email (`email`) | text | The customer's email address. Must be unique in the store. |
| Phone (`phone`) | text | The customer's phone number in E.164 format, for example +16135551111. Must be unique in the store. |
| Note (`note`) | textarea | A note about the customer. |
| Tags (`tags`) | text | Comma-separated tags, for example "VIP, wholesale". |
| Subscribe to Email Marketing (`acceptsEmailMarketing`) | toggle | Record that the customer agreed to receive marketing emails (single opt-in). Needs an email address. |
| First Name (`addressFirstName`) | text | First name on the address. Defaults to the customer's first name. |
| Last Name (`addressLastName`) | text | Last name on the address. Defaults to the customer's last name. |
| Company (`company`) | text | Company name. |
| Address Line 1 (`address1`) | text | Street and house number. |
| Address Line 2 (`address2`) | text | Apartment, suite or floor. |
| City (`city`) | text | City. |
| Province Code (`provinceCode`) | text | Province or state code, for example ON or CA. Required for countries with provinces (US, Canada, …). |
| Country Code (`countryCode`) | text | Two-letter ISO country code, for example US or CZ. The address is added only when at least one address field is filled in. |
| ZIP / Postal Code (`zip`) | text | ZIP or postal code. |
| Phone (`addressPhone`) | text | Phone number for the address. |
| Tax Exempt (`taxExempt`) | toggle | Whether the customer is exempt from paying taxes on their orders. |
| Tax Exemptions (`taxExemptions`) | multiselect | Specific tax exemptions (Canada, US resellers, EU reverse charge). |
| Metafields (`metafields`) | expression | Custom data stored on the customer. A metafield with the same namespace and key is overwritten. |

## Output ports

### Port `out`

| Field | Type | Description |
| --- | --- | --- |
| Customer ID (`id`) | string | - |
| Legacy Resource ID (`legacyResourceId`) | string | - |
| Display Name (`displayName`) | string | - |
| First Name (`firstName`) | string | - |
| Last Name (`lastName`) | string | - |
| Note (`note`) | string | - |
| Tags (`tags`) | array | - |
| State (`state`) | string | - |
| Locale (`locale`) | string | - |
| Verified Email (`verifiedEmail`) | boolean | - |
| Tax Exempt (`taxExempt`) | boolean | - |
| Tax Exemptions (`taxExemptions`) | array | - |
| Number of Orders (`numberOfOrders`) | string | - |
| Created At (`createdAt`) | string | - |
| Updated At (`updatedAt`) | string | - |
| Amount Spent (`amountSpent`) | object | - |
| Default Email Address (`defaultEmailAddress`) | object | - |
| Default Phone Number (`defaultPhoneNumber`) | object | - |
| Default Address (`defaultAddress`) | object | - |
| Addresses (`addresses`) | array | - |
| Metafields (`metafields`) | array | - |
| Last Order (`lastOrder`) | object | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.shopify.customers.CreateCustomer",
  "description": "Create a customer, optionally with an address, email marketing consent, tax exemptions and metafields.",
  "author": "Jimoh Damilola <jimoh@client.io>",
  "private": false,
  "auth": {
    "service": "appmixer:shopify",
    "scope": [
      "write_customers",
      "read_orders"
    ]
  },
  "quota": {
    "manager": "appmixer:shopify",
    "resources": "requests",
    "scope": {
      "userId": "{{userId}}"
    }
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "note": {
            "type": "string"
          },
          "tags": {
            "type": "string"
          },
          "acceptsEmailMarketing": {
            "type": "boolean"
          },
          "addressFirstName": {
            "type": "string"
          },
          "addressLastName": {
            "type": "string"
          },
          "company": {
            "type": "string"
          },
          "address1": {
            "type": "string"
          },
          "address2": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "provinceCode": {
            "type": "string"
          },
          "countryCode": {
            "type": "string"
          },
          "zip": {
            "type": "string"
          },
          "addressPhone": {
            "type": "string"
          },
          "taxExempt": {
            "type": "boolean"
          },
          "taxExemptions": {
            "type": [
              "array",
              "string"
            ]
          },
          "metafields": {
            "type": "object"
          }
        }
      },
      "inspector": {
        "inputs": {
          "firstName": {
            "type": "text",
            "label": "First Name",
            "index": 0,
            "group": "overview",
            "tooltip": "The customer's first name."
          },
          "lastName": {
            "type": "text",
            "label": "Last Name",
            "index": 1,
            "group": "overview",
            "tooltip": "The customer's last name."
          },
          "email": {
            "type": "text",
            "label": "Email",
            "index": 2,
            "group": "overview",
            "tooltip": "The customer's email address. Must be unique in the store."
          },
          "phone": {
            "type": "text",
            "label": "Phone",
            "index": 3,
            "group": "overview",
            "tooltip": "The customer's phone number in E.164 format, for example +16135551111. Must be unique in the store."
          },
          "note": {
            "type": "textarea",
            "label": "Note",
            "index": 4,
            "group": "overview",
            "tooltip": "A note about the customer."
          },
          "tags": {
            "type": "text",
            "label": "Tags",
            "index": 5,
            "group": "overview",
            "tooltip": "Comma-separated tags, for example \"VIP, wholesale\"."
          },
          "acceptsEmailMarketing": {
            "type": "toggle",
            "label": "Subscribe to Email Marketing",
            "index": 6,
            "group": "overview",
            "defaultValue": false,
            "tooltip": "Record that the customer agreed to receive marketing emails (single opt-in). Needs an email address."
          },
          "addressFirstName": {
            "type": "text",
            "label": "First Name",
            "index": 7,
            "group": "address",
            "tooltip": "First name on the address. Defaults to the customer's first name."
          },
          "addressLastName": {
            "type": "text",
            "label": "Last Name",
            "index": 8,
            "group": "address",
            "tooltip": "Last name on the address. Defaults to the customer's last name."
          },
          "company": {
            "type": "text",
            "label": "Company",
            "index": 9,
            "group": "address",
            "tooltip": "Company name."
          },
          "address1": {
            "type": "text",
            "label": "Address Line 1",
            "index": 10,
            "group": "address",
            "tooltip": "Street and house number."
          },
          "address2": {
            "type": "text",
            "label": "Address Line 2",
            "index": 11,
            "group": "address",
            "tooltip": "Apartment, suite or floor."
          },
          "city": {
            "type": "text",
            "label": "City",
            "index": 12,
            "group": "address",
            "tooltip": "City."
          },
          "provinceCode": {
            "type": "text",
            "label": "Province Code",
            "index": 13,
            "group": "address",
            "tooltip": "Province or state code, for example ON or CA. Required for countries with provinces (US, Canada, …)."
          },
          "countryCode": {
            "type": "text",
            "label": "Country Code",
            "index": 14,
            "group": "address",
            "tooltip": "Two-letter ISO country code, for example US or CZ. The address is added only when at least one address field is filled in."
          },
          "zip": {
            "type": "text",
            "label": "ZIP / Postal Code",
            "index": 15,
            "group": "address",
            "tooltip": "ZIP or postal code."
          },
          "addressPhone": {
            "type": "text",
            "label": "Phone",
            "index": 16,
            "group": "address",
            "tooltip": "Phone number for the address."
          },
          "taxExempt": {
            "type": "toggle",
            "label": "Tax Exempt",
            "index": 17,
            "group": "tax",
            "defaultValue": false,
            "tooltip": "Whether the customer is exempt from paying taxes on their orders."
          },
          "taxExemptions": {
            "type": "multiselect",
            "label": "Tax Exemptions",
            "index": 18,
            "group": "tax",
            "tooltip": "Specific tax exemptions (Canada, US resellers, EU reverse charge).",
            "options": [
              {
                "label": "Canada: status card",
                "value": "CA_STATUS_CARD_EXEMPTION"
              },
              {
                "label": "Canada BC: reseller",
                "value": "CA_BC_RESELLER_EXEMPTION"
              },
              {
                "label": "Canada MB: reseller",
                "value": "CA_MB_RESELLER_EXEMPTION"
              },
              {
                "label": "Canada SK: reseller",
                "value": "CA_SK_RESELLER_EXEMPTION"
              },
              {
                "label": "Canada SK: VPT reseller",
                "value": "CA_SK_VPT_RESELLER_EXEMPTION"
              },
              {
                "label": "Canada NL: VPT reseller",
                "value": "CA_NL_VPT_RESELLER_EXEMPTION"
              },
              {
                "label": "Canada: diplomat",
                "value": "CA_DIPLOMAT_EXEMPTION"
              },
              {
                "label": "Canada BC: commercial fishery",
                "value": "CA_BC_COMMERCIAL_FISHERY_EXEMPTION"
              },
              {
                "label": "Canada MB: commercial fishery",
                "value": "CA_MB_COMMERCIAL_FISHERY_EXEMPTION"
              },
              {
                "label": "Canada NS: commercial fishery",
                "value": "CA_NS_COMMERCIAL_FISHERY_EXEMPTION"
              },
              {
                "label": "Canada PE: commercial fishery",
                "value": "CA_PE_COMMERCIAL_FISHERY_EXEMPTION"
              },
              {
                "label": "Canada SK: commercial fishery",
                "value": "CA_SK_COMMERCIAL_FISHERY_EXEMPTION"
              },
              {
                "label": "Canada BC: production and machinery",
                "value": "CA_BC_PRODUCTION_AND_MACHINERY_EXEMPTION"
              },
              {
                "label": "Canada SK: production and machinery",
                "value": "CA_SK_PRODUCTION_AND_MACHINERY_EXEMPTION"
              },
              {
                "label": "Canada BC: sub contractor",
                "value": "CA_BC_SUB_CONTRACTOR_EXEMPTION"
              },
              {
                "label": "Canada SK: sub contractor",
                "value": "CA_SK_SUB_CONTRACTOR_EXEMPTION"
              },
              {
                "label": "Canada BC: contractor",
                "value": "CA_BC_CONTRACTOR_EXEMPTION"
              },
              {
                "label": "Canada SK: contractor",
                "value": "CA_SK_CONTRACTOR_EXEMPTION"
              },
              {
                "label": "Canada ON: purchase",
                "value": "CA_ON_PURCHASE_EXEMPTION"
              },
              {
                "label": "Canada MB: farmer",
                "value": "CA_MB_FARMER_EXEMPTION"
              },
              {
                "label": "Canada NS: farmer",
                "value": "CA_NS_FARMER_EXEMPTION"
              },
              {
                "label": "Canada SK: farmer",
                "value": "CA_SK_FARMER_EXEMPTION"
              },
              {
                "label": "EU: reverse charge",
                "value": "EU_REVERSE_CHARGE_EXEMPTION_RULE"
              },
              {
                "label": "US AL: reseller",
                "value": "US_AL_RESELLER_EXEMPTION"
              },
              {
                "label": "US AK: reseller",
                "value": "US_AK_RESELLER_EXEMPTION"
              },
              {
                "label": "US AZ: reseller",
                "value": "US_AZ_RESELLER_EXEMPTION"
              },
              {
                "label": "US AR: reseller",
                "value": "US_AR_RESELLER_EXEMPTION"
              },
              {
                "label": "US CA: reseller",
                "value": "US_CA_RESELLER_EXEMPTION"
              },
              {
                "label": "US CO: reseller",
                "value": "US_CO_RESELLER_EXEMPTION"
              },
              {
                "label": "US CT: reseller",
                "value": "US_CT_RESELLER_EXEMPTION"
              },
              {
                "label": "US DE: reseller",
                "value": "US_DE_RESELLER_EXEMPTION"
              },
              {
                "label": "US FL: reseller",
                "value": "US_FL_RESELLER_EXEMPTION"
              },
              {
                "label": "US GA: reseller",
                "value": "US_GA_RESELLER_EXEMPTION"
              },
              {
                "label": "US HI: reseller",
                "value": "US_HI_RESELLER_EXEMPTION"
              },
              {
                "label": "US ID: reseller",
                "value": "US_ID_RESELLER_EXEMPTION"
              },
              {
                "label": "US IL: reseller",
                "value": "US_IL_RESELLER_EXEMPTION"
              },
              {
                "label": "US IN: reseller",
                "value": "US_IN_RESELLER_EXEMPTION"
              },
              {
                "label": "US IA: reseller",
                "value": "US_IA_RESELLER_EXEMPTION"
              },
              {
                "label": "US KS: reseller",
                "value": "US_KS_RESELLER_EXEMPTION"
              },
              {
                "label": "US KY: reseller",
                "value": "US_KY_RESELLER_EXEMPTION"
              },
              {
                "label": "US LA: reseller",
                "value": "US_LA_RESELLER_EXEMPTION"
              },
              {
                "label": "US ME: reseller",
                "value": "US_ME_RESELLER_EXEMPTION"
              },
              {
                "label": "US MD: reseller",
                "value": "US_MD_RESELLER_EXEMPTION"
              },
              {
                "label": "US MA: reseller",
                "value": "US_MA_RESELLER_EXEMPTION"
              },
              {
                "label": "US MI: reseller",
                "value": "US_MI_RESELLER_EXEMPTION"
              },
              {
                "label": "US MN: reseller",
                "value": "US_MN_RESELLER_EXEMPTION"
              },
              {
                "label": "US MS: reseller",
                "value": "US_MS_RESELLER_EXEMPTION"
              },
              {
                "label": "US MO: reseller",
                "value": "US_MO_RESELLER_EXEMPTION"
              },
              {
                "label": "US MT: reseller",
                "value": "US_MT_RESELLER_EXEMPTION"
              },
              {
                "label": "US NE: reseller",
                "value": "US_NE_RESELLER_EXEMPTION"
              },
              {
                "label": "US NV: reseller",
                "value": "US_NV_RESELLER_EXEMPTION"
              },
              {
                "label": "US NH: reseller",
                "value": "US_NH_RESELLER_EXEMPTION"
              },
              {
                "label": "US NJ: reseller",
                "value": "US_NJ_RESELLER_EXEMPTION"
              },
              {
                "label": "US NM: reseller",
                "value": "US_NM_RESELLER_EXEMPTION"
              },
              {
                "label": "US NY: reseller",
                "value": "US_NY_RESELLER_EXEMPTION"
              },
              {
                "label": "US NC: reseller",
                "value": "US_NC_RESELLER_EXEMPTION"
              },
              {
                "label": "US ND: reseller",
                "value": "US_ND_RESELLER_EXEMPTION"
              },
              {
                "label": "US OH: reseller",
                "value": "US_OH_RESELLER_EXEMPTION"
              },
              {
                "label": "US OK: reseller",
                "value": "US_OK_RESELLER_EXEMPTION"
              },
              {
                "label": "US OR: reseller",
                "value": "US_OR_RESELLER_EXEMPTION"
              },
              {
                "label": "US PA: reseller",
                "value": "US_PA_RESELLER_EXEMPTION"
              },
              {
                "label": "US RI: reseller",
                "value": "US_RI_RESELLER_EXEMPTION"
              },
              {
                "label": "US SC: reseller",
                "value": "US_SC_RESELLER_EXEMPTION"
              },
              {
                "label": "US SD: reseller",
                "value": "US_SD_RESELLER_EXEMPTION"
              },
              {
                "label": "US TN: reseller",
                "value": "US_TN_RESELLER_EXEMPTION"
              },
              {
                "label": "US TX: reseller",
                "value": "US_TX_RESELLER_EXEMPTION"
              },
              {
                "label": "US UT: reseller",
                "value": "US_UT_RESELLER_EXEMPTION"
              },
              {
                "label": "US VT: reseller",
                "value": "US_VT_RESELLER_EXEMPTION"
              },
              {
                "label": "US VA: reseller",
                "value": "US_VA_RESELLER_EXEMPTION"
              },
              {
                "label": "US WA: reseller",
                "value": "US_WA_RESELLER_EXEMPTION"
              },
              {
                "label": "US WV: reseller",
                "value": "US_WV_RESELLER_EXEMPTION"
              },
              {
                "label": "US WI: reseller",
                "value": "US_WI_RESELLER_EXEMPTION"
              },
              {
                "label": "US WY: reseller",
                "value": "US_WY_RESELLER_EXEMPTION"
              },
              {
                "label": "US DC: reseller",
                "value": "US_DC_RESELLER_EXEMPTION"
              }
            ]
          },
          "metafields": {
            "type": "expression",
            "label": "Metafields",
            "index": 19,
            "group": "metafields",
            "levels": [
              "ADD"
            ],
            "tooltip": "Custom data stored on the customer. A metafield with the same namespace and key is overwritten.",
            "fields": {
              "namespace": {
                "type": "text",
                "label": "Namespace",
                "index": 1,
                "tooltip": "Groups metafields, for example \"custom\". Defaults to the app's namespace when empty."
              },
              "key": {
                "type": "text",
                "label": "Key",
                "index": 2,
                "tooltip": "Name of the metafield within the namespace, for example \"loyalty_level\"."
              },
              "type": {
                "type": "select",
                "label": "Type",
                "index": 3,
                "defaultValue": "single_line_text_field",
                "tooltip": "Type of the value. Must match the metafield definition, if the store has one for this namespace and key.",
                "options": [
                  {
                    "label": "Single line text",
                    "value": "single_line_text_field"
                  },
                  {
                    "label": "Multi-line text",
                    "value": "multi_line_text_field"
                  },
                  {
                    "label": "Integer",
                    "value": "number_integer"
                  },
                  {
                    "label": "Decimal",
                    "value": "number_decimal"
                  },
                  {
                    "label": "True or false",
                    "value": "boolean"
                  },
                  {
                    "label": "Date",
                    "value": "date"
                  },
                  {
                    "label": "Date and time",
                    "value": "date_time"
                  },
                  {
                    "label": "URL",
                    "value": "url"
                  },
                  {
                    "label": "JSON",
                    "value": "json"
                  }
                ]
              },
              "value": {
                "type": "text",
                "label": "Value",
                "index": 4,
                "tooltip": "The value, as text (numbers, true/false, dates in ISO 8601, JSON as a string)."
              }
            }
          }
        },
        "groups": {
          "overview": {
            "label": "Customer",
            "index": 1
          },
          "address": {
            "label": "Default Address",
            "index": 2
          },
          "tax": {
            "label": "Taxes",
            "index": 3
          },
          "metafields": {
            "label": "Metafields",
            "index": 4
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "out",
      "schema": {
        "type": "object",
        "required": [
          "id",
          "legacyResourceId",
          "displayName",
          "tags",
          "state",
          "locale",
          "verifiedEmail",
          "taxExempt",
          "taxExemptions",
          "numberOfOrders",
          "createdAt",
          "updatedAt",
          "amountSpent",
          "addresses",
          "metafields"
        ],
        "properties": {
          "id": {
            "type": "string",
            "title": "Customer ID",
            "example": "gid://shopify/Customer/27606879338577"
          },
          "legacyResourceId": {
            "type": "string",
            "title": "Legacy Resource ID",
            "example": "27606879338577"
          },
          "displayName": {
            "type": "string",
            "title": "Display Name",
            "example": "Jane Doe"
          },
          "firstName": {
            "type": "string",
            "title": "First Name",
            "example": "Jane"
          },
          "lastName": {
            "type": "string",
            "title": "Last Name",
            "example": "Doe"
          },
          "note": {
            "type": "string",
            "title": "Note",
            "example": "Prefers delivery after 5 pm"
          },
          "tags": {
            "type": "array",
            "title": "Tags",
            "items": {
              "type": "string"
            },
            "example": [
              "VIP",
              "wholesale"
            ]
          },
          "state": {
            "type": "string",
            "title": "State",
            "example": "DISABLED"
          },
          "locale": {
            "type": "string",
            "title": "Locale",
            "example": "en"
          },
          "verifiedEmail": {
            "type": "boolean",
            "title": "Verified Email",
            "example": true
          },
          "taxExempt": {
            "type": "boolean",
            "title": "Tax Exempt",
            "example": false
          },
          "taxExemptions": {
            "type": "array",
            "title": "Tax Exemptions",
            "items": {
              "type": "string"
            },
            "example": [
              "CA_STATUS_CARD_EXEMPTION"
            ]
          },
          "numberOfOrders": {
            "type": "string",
            "title": "Number of Orders",
            "example": "3"
          },
          "createdAt": {
            "type": "string",
            "title": "Created At",
            "example": "2026-10-05T08:22:51Z",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "title": "Updated At",
            "example": "2026-10-05T08:22:52Z",
            "format": "date-time"
          },
          "amountSpent": {
            "type": "object",
            "title": "Amount Spent",
            "required": [
              "amount",
              "currencyCode"
            ],
            "properties": {
              "amount": {
                "type": "string",
                "title": "Amount Spent.Amount",
                "example": "199.9"
              },
              "currencyCode": {
                "type": "string",
                "title": "Amount Spent.Currency Code",
                "example": "USD"
              }
            }
          },
          "defaultEmailAddress": {
            "type": "object",
            "title": "Default Email Address",
            "required": [
              "emailAddress",
              "marketingState"
            ],
            "properties": {
              "emailAddress": {
                "type": "string",
                "title": "Default Email Address.Email Address",
                "example": "jane.doe@example.com"
              },
              "marketingState": {
                "type": "string",
                "title": "Default Email Address.Marketing State",
                "example": "SUBSCRIBED"
              },
              "marketingOptInLevel": {
                "type": "string",
                "title": "Default Email Address.Marketing Opt-in Level",
                "example": "SINGLE_OPT_IN"
              },
              "marketingUpdatedAt": {
                "type": "string",
                "title": "Default Email Address.Marketing Updated At",
                "example": "2026-10-05T08:22:50Z",
                "format": "date-time"
              }
            }
          },
          "defaultPhoneNumber": {
            "type": "object",
            "title": "Default Phone Number",
            "required": [
              "phoneNumber",
              "smsMarketingConsent"
            ],
            "properties": {
              "phoneNumber": {
                "type": "string",
                "title": "Default Phone Number.Phone Number",
                "example": "+420777123456"
              },
              "smsMarketingConsent": {
                "type": "object",
                "title": "Default Phone Number.SMS Marketing Consent",
                "required": [
                  "state"
                ],
                "properties": {
                  "state": {
                    "type": "string",
                    "title": "Default Phone Number.SMS Marketing Consent.State",
                    "example": "NOT_SUBSCRIBED"
                  },
                  "optInLevel": {
                    "type": "string",
                    "title": "Default Phone Number.SMS Marketing Consent.Opt-in Level",
                    "example": "SINGLE_OPT_IN"
                  },
                  "updatedAt": {
                    "type": "string",
                    "title": "Default Phone Number.SMS Marketing Consent.Updated At",
                    "example": "2026-10-05T08:22:50Z",
                    "format": "date-time"
                  }
                }
              }
            }
          },
          "defaultAddress": {
            "type": "object",
            "title": "Default Address",
            "required": [
              "id"
            ],
            "properties": {
              "id": {
                "type": "string",
                "title": "Default Address.ID",
                "example": "gid://shopify/MailingAddress/38344136425553?model_name=CustomerAddress"
              },
              "firstName": {
                "type": "string",
                "title": "Default Address.First Name",
                "example": "Jane"
              },
              "lastName": {
                "type": "string",
                "title": "Default Address.Last Name",
                "example": "Doe"
              },
              "company": {
                "type": "string",
                "title": "Default Address.Company",
                "example": "Acme Inc."
              },
              "address1": {
                "type": "string",
                "title": "Default Address.Address Line 1",
                "example": "Havanska 155"
              },
              "address2": {
                "type": "string",
                "title": "Default Address.Address Line 2",
                "example": "Floor 2"
              },
              "city": {
                "type": "string",
                "title": "Default Address.City",
                "example": "Prague"
              },
              "province": {
                "type": "string",
                "title": "Default Address.Province",
                "example": "Ontario"
              },
              "provinceCode": {
                "type": "string",
                "title": "Default Address.Province Code",
                "example": "ON"
              },
              "country": {
                "type": "string",
                "title": "Default Address.Country",
                "example": "Czech Republic"
              },
              "countryCodeV2": {
                "type": "string",
                "title": "Default Address.Country Code",
                "example": "CZ"
              },
              "zip": {
                "type": "string",
                "title": "Default Address.ZIP",
                "example": "170 00"
              },
              "phone": {
                "type": "string",
                "title": "Default Address.Phone",
                "example": "+420777123456"
              }
            }
          },
          "addresses": {
            "type": "array",
            "title": "Addresses",
            "items": {
              "type": "object",
              "required": [
                "id"
              ],
              "properties": {
                "id": {
                  "type": "string",
                  "title": "ID",
                  "example": "gid://shopify/MailingAddress/38344136425553?model_name=CustomerAddress"
                },
                "firstName": {
                  "type": "string",
                  "title": "First Name",
                  "example": "Jane"
                },
                "lastName": {
                  "type": "string",
                  "title": "Last Name",
                  "example": "Doe"
                },
                "company": {
                  "type": "string",
                  "title": "Company",
                  "example": "Acme Inc."
                },
                "address1": {
                  "type": "string",
                  "title": "Address Line 1",
                  "example": "Havanska 155"
                },
                "address2": {
                  "type": "string",
                  "title": "Address Line 2",
                  "example": "Floor 2"
                },
                "city": {
                  "type": "string",
                  "title": "City",
                  "example": "Prague"
                },
                "province": {
                  "type": "string",
                  "title": "Province",
                  "example": "Ontario"
                },
                "provinceCode": {
                  "type": "string",
                  "title": "Province Code",
                  "example": "ON"
                },
                "country": {
                  "type": "string",
                  "title": "Country",
                  "example": "Czech Republic"
                },
                "countryCodeV2": {
                  "type": "string",
                  "title": "Country Code",
                  "example": "CZ"
                },
                "zip": {
                  "type": "string",
                  "title": "ZIP",
                  "example": "170 00"
                },
                "phone": {
                  "type": "string",
                  "title": "Phone",
                  "example": "+420777123456"
                }
              }
            },
            "example": [
              {
                "id": "gid://shopify/MailingAddress/38344136425553?model_name=CustomerAddress",
                "firstName": "Jane",
                "lastName": "Doe",
                "company": "Acme Inc.",
                "address1": "Havanska 155",
                "address2": null,
                "city": "Prague",
                "province": null,
                "provinceCode": null,
                "country": "Czech Republic",
                "countryCodeV2": "CZ",
                "zip": "170 00",
                "phone": "+420777123456"
              }
            ]
          },
          "metafields": {
            "type": "array",
            "title": "Metafields",
            "items": {
              "type": "object",
              "required": [
                "namespace",
                "key",
                "type",
                "value"
              ],
              "properties": {
                "namespace": {
                  "type": "string",
                  "title": "Namespace",
                  "example": "custom"
                },
                "key": {
                  "type": "string",
                  "title": "Key",
                  "example": "loyalty_level"
                },
                "type": {
                  "type": "string",
                  "title": "Type",
                  "example": "single_line_text_field"
                },
                "value": {
                  "type": "string",
                  "title": "Value",
                  "example": "gold"
                }
              }
            },
            "example": [
              {
                "namespace": "custom",
                "key": "loyalty_level",
                "type": "single_line_text_field",
                "value": "gold"
              }
            ]
          },
          "lastOrder": {
            "type": "object",
            "title": "Last Order",
            "required": [
              "id",
              "name"
            ],
            "properties": {
              "id": {
                "type": "string",
                "title": "Last Order.ID",
                "example": "gid://shopify/Order/6012345678901"
              },
              "name": {
                "type": "string",
                "title": "Last Order.Name",
                "example": "#1001"
              }
            }
          }
        }
      }
    }
  ],
  "icon": "(data URI omitted)"
}
```
