Source Customer
{
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: [],
discountedTotalPrice: null,
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: [],
}
Properties
Indicates whether the customer has consented to be sent marketing material via email.
The customer’s address.
The first line of the address. Typically the street address or PO Box number.
The second line of the address. Typically the number of the apartment, suite, or unit.
The name of the city, district, village, or town.
The name of the customer's company or organization.
The name of the country.
The two-letter code for the country of the address.
The first name of the customer at the address.
A formatted version of the address, customized by the provided arguments.
Whether to include the customer’s company in the formatted address.
Whether to include the customer’s name in the formatted address.
A globally-unique identifier from Shopify (the GraphQL long-form format).
The last name of the customer at the address.
The full name of the customer at the address, based on firstName and lastName.
A unique phone number for the customer.
The region of the address, such as the province, state, or district.
The two-letter code for the region.
A globally-unique identifier from Shopify (the Admin number-only format).
The zip or postal code of the address.
A list of addresses for the customer.
The first line of the address. Typically the street address or PO Box number.
The second line of the address. Typically the number of the apartment, suite, or unit.
The name of the city, district, village, or town.
The name of the customer's company or organization.
The name of the country.
The two-letter code for the country of the address.
The first name of the customer at the address.
A formatted version of the address, customized by the provided arguments.
Whether to include the customer’s company in the formatted address.
Whether to include the customer’s name in the formatted address.
A globally-unique identifier from Shopify (the GraphQL long-form format).
The last name of the customer at the address.
The full name of the customer at the address, based on firstName and lastName.
A unique phone number for the customer.
The region of the address, such as the province, state, or district.
The two-letter code for the region.
A globally-unique identifier from Shopify (the Admin number-only format).
The zip or postal code of the address.
The customer’s default address.
The first line of the address. Typically the street address or PO Box number.
The second line of the address. Typically the number of the apartment, suite, or unit.
The name of the city, district, village, or town.
The name of the customer's company or organization.
The name of the country.
The two-letter code for the country of the address.
The first name of the customer at the address.
A formatted version of the address, customized by the provided arguments.
Whether to include the customer’s company in the formatted address.
Whether to include the customer’s name in the formatted address.
A globally-unique identifier from Shopify (the GraphQL long-form format).
The last name of the customer at the address.
The full name of the customer at the address, based on firstName and lastName.
A unique phone number for the customer.
The region of the address, such as the province, state, or district.
The two-letter code for the region.
A globally-unique identifier from Shopify (the Admin number-only format).
The zip or postal code of the address.
The customer’s name, email or phone number.
The current address being edited by the customer.
The first line of the address. Typically the street address or PO Box number.
The second line of the address. Typically the number of the apartment, suite, or unit.
The name of the city, district, village, or town.
The name of the customer's company or organization.
The name of the country.
The two-letter code for the country of the address.
The first name of the customer at the address.
A formatted version of the address, customized by the provided arguments.
Whether to include the customer’s company in the formatted address.
Whether to include the customer’s name in the formatted address.
A globally-unique identifier from Shopify (the GraphQL long-form format).
The last name of the customer at the address.
The full name of the customer at the address, based on firstName and lastName.
A unique phone number for the customer.
The region of the address, such as the province, state, or district.
The two-letter code for the region.
A globally-unique identifier from Shopify (the Admin number-only format).
The zip or postal code of the address.
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.
Returns a metafield found by namespace and key.
The customer’s orders.
The reason for the order's cancellation. Returns null if the order wasn't canceled.
The date and time when the order was canceled. Returns null if the order wasn't canceled.
The total amount of the order, including duties, taxes and discounts, minus amounts for line items that have been removed.
The unique URL that the customer can use to access the order.
The customer's email address.
The financial status of the order.
The fulfillment status for the order.
A globally-unique identifier from Shopify (the GraphQL long-form format).
List of the order’s line items.
List of custom attributes associated to the line item.
Key or name of the attribute.
Value of the attribute.
The total price of the line item, including discounts, and displayed in the presentment currency.
The number of products variants associated to the line item.
The title of the product combined with title of the variant.
The product variant object associated to the line item.
Image associated with the product variant. This field falls back to the product image if no image is available.
The product variant’s price.
List of product options applied to the variant.
The product option’s name.
The product option’s value.
The SKU (stock keeping unit) associated with the variant.
The product variant’s title.
Returns a metafield found by namespace and key.
Unique identifier for the order that appears on the order. For example, #1000 or _Store1001.
A unique numeric identifier for the order for use by shop owner and customer.
The total price of the order before any applied edits.
The customer's phone number for receiving SMS notifications.
The date and time when the order was imported. This value can be set to dates in the past when importing from other systems. If no value is provided, it will be auto-generated based on current date and time.
The address to where the order will be shipped.
The first line of the address. Typically the street address or PO Box number.
The second line of the address. Typically the number of the apartment, suite, or unit.
The name of the city, district, village, or town.
The name of the customer's company or organization.
The name of the country.
The two-letter code for the country of the address.
The first name of the customer at the address.
A formatted version of the address, customized by the provided arguments.
Whether to include the customer’s company in the formatted address.
Whether to include the customer’s name in the formatted address.
A globally-unique identifier from Shopify (the GraphQL long-form format).
The last name of the customer at the address.
The full name of the customer at the address, based on firstName and lastName.
A unique phone number for the customer.
The region of the address, such as the province, state, or district.
The two-letter code for the region.
A globally-unique identifier from Shopify (the Admin number-only format).
The zip or postal code of the address.
A globally-unique identifier from Shopify (the Admin number-only format).
The unique URL for the order's status page.
The subtotal discount of the order.
Price of the order before shipping and taxes.
List of the order’s successful fulfillments.
The name of the tracking company.
Tracking information associated with the fulfillment, such as the tracking number and tracking URL.
The tracking number of the fulfillment.
The tracking URL of the fulfillment.
The sum of all the prices of all the items in the order, duties, taxes and discounts included (must be positive).
The total amount that has been refunded.
The total cost of shipping.
The total cost of taxes.
Whether this customer has purchased any orders with subscriptions.
A globally-unique identifier from Shopify (the Admin number-only format).
A comma separated list of tags that have been added to the customer.