Shopify Admin API · Schema
Shopify Admin Customer
Schema for a Shopify customer resource in the Admin API
CommerceE-CommerceAdminProductOrderCustomers
Properties
| Name | Type | Description |
|---|---|---|
| id | integer | Unique numeric identifier for the customer |
| string | The unique email address of the customer | |
| first_name | string | The customer's first name |
| last_name | string | The customer's last name |
| phone | stringnull | The customer's phone number |
| verified_email | boolean | Whether the customer has verified their email address |
| accepts_marketing | boolean | Whether the customer has consented to receive marketing material via email |
| created_at | string | The date and time when the customer was created |
| updated_at | string | The date and time when the customer information was last updated |
| orders_count | integer | The number of orders associated with the customer |
| total_spent | string | The total amount of money that the customer has spent across their order history |
| note | stringnull | A note about the customer |
| tags | string | Tags that the shop owner has attached to the customer |
| currency | string | The three-letter code for the currency that the customer used when they paid for their last order |
| tax_exempt | boolean | Whether the customer is exempt from paying taxes on their order |
| addresses | array | A list of the customer's addresses |
| default_address | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://api-evangelist.github.io/shopify-admin/json-schema/shopify-admin-customer-schema.json",
"title": "Shopify Admin Customer",
"description": "Schema for a Shopify customer resource in the Admin API",
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "Unique numeric identifier for the customer"
},
"email": {
"type": "string",
"format": "email",
"description": "The unique email address of the customer"
},
"first_name": {
"type": "string",
"description": "The customer's first name"
},
"last_name": {
"type": "string",
"description": "The customer's last name"
},
"phone": {
"type": ["string", "null"],
"description": "The customer's phone number"
},
"verified_email": {
"type": "boolean",
"description": "Whether the customer has verified their email address"
},
"accepts_marketing": {
"type": "boolean",
"description": "Whether the customer has consented to receive marketing material via email"
},
"created_at": {
"type": "string",
"format": "date-time",
"description": "The date and time when the customer was created"
},
"updated_at": {
"type": "string",
"format": "date-time",
"description": "The date and time when the customer information was last updated"
},
"orders_count": {
"type": "integer",
"description": "The number of orders associated with the customer"
},
"total_spent": {
"type": "string",
"description": "The total amount of money that the customer has spent across their order history"
},
"note": {
"type": ["string", "null"],
"description": "A note about the customer"
},
"tags": {
"type": "string",
"description": "Tags that the shop owner has attached to the customer"
},
"currency": {
"type": "string",
"description": "The three-letter code for the currency that the customer used when they paid for their last order"
},
"tax_exempt": {
"type": "boolean",
"description": "Whether the customer is exempt from paying taxes on their order"
},
"addresses": {
"type": "array",
"description": "A list of the customer's addresses",
"items": {
"$ref": "#/$defs/Address"
}
},
"default_address": {
"$ref": "#/$defs/Address"
}
},
"$defs": {
"Address": {
"type": "object",
"description": "A customer mailing address",
"properties": {
"id": { "type": "integer" },
"customer_id": { "type": "integer" },
"first_name": { "type": "string" },
"last_name": { "type": "string" },
"company": { "type": ["string", "null"] },
"address1": { "type": "string" },
"address2": { "type": ["string", "null"] },
"city": { "type": "string" },
"province": { "type": "string" },
"country": { "type": "string" },
"zip": { "type": "string" },
"phone": { "type": ["string", "null"] },
"name": { "type": "string" },
"province_code": { "type": "string" },
"country_code": { "type": "string" },
"country_name": { "type": "string" },
"default": { "type": "boolean" }
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/shopify-admin-customer"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.