Documentation
{
acceptsMarketing: true,
activationCode: "",
address: {
address1: "821 S Mitchell Ave",
address2: null,
city: "Arlington Heights",
company: "My company",
country: "United States",
countryCode: "US",
firstName: "John",
formatted: [
"Jhon Smith",
"821 S Mitchell Ave",
"Arlington Heights IL 60005",
"United States",
],
id: "gid://shopify/MailingAddress/7987314599247",
lastName: "Smith",
name: "John Smith",
phone: "(847) 255-8785",
province: "Illinois",
provinceCode: "IL",
shortId: "7987314599247",
zip: "60005",
},
addresses: [
{
address1: "5938 Lakeview Dr",
address2: "",
city: "House Springs",
company: null,
country: "United States",
countryCode: "US",
firstName: "John",
formatted: [
"5938 Lakeview Dr",
"House Springs MO 63051",
"United States",
],
id: "gid://shopify/MailingAddress/7987314599247",
lastName: "Smith",
name: "John Smith",
phone: "(636) 677-3743",
province: "Missouri",
provinceCode: "MO",
shortId: "7987314599247",
zip: "63051",
},
],
defaultAddress: {
address1: "821 S Mitchell Ave",
address2: null,
city: "Arlington Heights",
company: "My company",
country: "United States",
countryCode: "US",
firstName: "John",
formatted: [
"Jhon Smith",
"821 S Mitchell Ave",
"Arlington Heights IL 60005",
"United States",
],
id: "gid://shopify/MailingAddress/7987314599247",
lastName: "Smith",
name: "John Smith",
phone: "(847) 255-8785",
province: "Illinois",
provinceCode: "IL",
shortId: "7987314599247",
zip: "60005",
},
displayName: "John Smith",
editingAddress: {
address1: "821 S Mitchell Ave",
address2: null,
city: "Arlington Heights",
company: "My company",
country: "United States",
countryCode: "US",
firstName: "John",
formatted: [
"Jhon Smith",
"821 S Mitchell Ave",
"Arlington Heights IL 60005",
"United States",
],
id: "gid://shopify/MailingAddress/7987314599247",
lastName: "Smith",
name: "John Smith",
phone: "(847) 255-8785",
province: "Illinois",
provinceCode: "IL",
shortId: "7987314599247",
zip: "60005",
},
email: "johnsmith@email.com",
firstName: "John",
id: "gid://shopify/Customer/6378324295927",
lastName: "Smith",
metafield: {},
orders: [
{
canceledAt: "2023-01-18T17:50:56Z",
cancelReason: "OTHER",
currentTotalPrice: {
amount: "0.0",
currencyCode: "USD",
},
customerUrl: "https://checkout.myshopify.com/account/orders/962868f74b4ab113186a82265e2bf6e8",
email: "johnsmith@email.com",
financialStatus: "PAID",
fulfillmentStatus: "UNFULFILLED",
id: "gid://shopify/Order/4904913928439",
lineItems: [
{
customAttributes: [],
quantity: 1,
title: "short",
variant: {
id: "gid://shopify/ProductVariant/42813998842391",
image: {
altText: "",
url: "https://cdn.shopify.com/s/files/1/0080/0115/9223/products/DSCA06331.jpg?v=1663781893",
},
price: {
amount: "95.0",
currencyCode: "USD",
},
product: {
id: "gid://shopify/Product/764342535959",
productType: "Cloth",
title: "short",
},
selectedOptions: [
{
name: "Size",
value: "XS",
},
{
name: "Color",
value: "Black",
},
],
sku: "628554005946",
title: "XS / Black",
},
},
],
metafield: {},
name: "AA22868",
orderNumber: 22868,
originalTotalPrice: {
amount: "134.47",
currencyCode: "USD",
},
phone: null,
processedAt: "2022-09-12T17:59:34Z",
shippingAddress: {
address1: "160 Lowber Rd",
address2: "Unit 4",
city: "West Newton",
country: "United States",
firstName: "John",
lastName: "Smith",
phone: "(724) 872-0154",
province: "Pennsylvania",
provinceCode: "PA",
zip: "15089",
},
shortId: "4904913928439",
statusUrl: "https://checkout.myshopify.com/8001159223/orders/962868f74b4ab113186a82265e2bf6e8/authenticate?key=a4beae7c7aadc4157691aa643a557d28",
subtotalDiscount: {
amount: 0,
currencyCode: "USD",
},
subtotalPrice: {
amount: "109.0",
currencyCode: "USD",
},
successfulFulfillments: [],
totalPrice: {
amount: "134.47",
currencyCode: "USD",
},
totalRefunded: {
amount: "0.0",
currencyCode: "USD",
},
totalShippingPrice: {
amount: "10.0",
currencyCode: "USD",
},
totalTax: {
amount: "15.47",
currencyCode: "USD",
},
},
],
resetCode: "",
shortId: "6378324295927",
tags: [],
}
Indicates whether the customer has consented to be sent marketing material via email.
The customer’s address.
A list of addresses for the customer.
The customer’s default address.
The customer’s name, email or phone number.
The current address being edited by the customer.
The customer’s email address.
The customer’s first name.
A globally-unique identifier from Shopify (the GraphQL long-form format).
The customer’s last name.
The customer’s orders.
A globally-unique identifier from Shopify (the Admin number-only format).
A comma separated list of tags that have been added to the customer.