Shopify attributes
This guide contains a list of the Shopify attributes which are automatically collected through the Shopify Integration.
Attribute | Value format |
|---|---|
| Shopify customer identifier.
|
| Whether the customer has consented to receive marketing material via email.
|
| The date and time (ISO 8601 format) when the customer consented or objected to receiving marketing material by email.
|
| A list of the ten most recently updated addresses for the customer.
|
| The average amount that the customer spent per order.
|
| Whether the merchant can delete the customer from their store.
|
| The date and time (ISO 8601 format) when the customer was created.
|
| The default address for the customer. Same properties as address.
|
| The full name of the customer, based on the values for
|
| The unique email address of the customer.
|
| The customer's first name.
|
| The customer's last name.
|
| Whether the customer has a note associated with them.
|
| Whether the merchant has added timeline comments about the customer on the customer's page.
|
| The amount of time since the customer was first added to the store.
|
| The customer's language.
|
| The marketing subscription opt-in that the customer gave when they consented to receive marketing material by email.
|
| A note about the customer.
|
| The number of orders associated with this customer.
|
| Customer’s last order information. |
| The state of the customer's account with a shop. Default value:
|
| Tags that the shop owner has attached to the customer, formatted as a string of comma-separated values.
|
| Whether the customer is exempt from paying taxes on their order. If
|
| Whether the customer is exempt from paying specific taxes on their order. Canadian taxes only. See Shopify's documentation for valid values (under tax_exemptions).
|
| The total amount of money that the customer has spent across their order history.
|
| The total amount of money with currency that the customer has spent across their order history.
|
| The date and time (ISO 8601 format) when the customer information was last updated.
|
| Whether the email address is valid.
|
| Whether the customer has verified their email address.
|
Address object
A list of the ten most recently updated addresses for the customer. Each address has the following properties:
Property | Description |
|---|---|
| The customer's mailing address. |
| An additional field for the customer's address. |
| The customer's city, town, or village. |
| The customer's company. |
| The customer's country. |
| Two-letter country code corresponding to the customer's country. |
| The customer's normalized country name. |
| A unique identifier for the customer. |
| Whether this address is the default address for the customer. Boolean. |
| The customer's first name. |
| A unique identifier for the address. |
| The customer's last name. |
| The customer's first and last names. |
| The customer's phone number at this address. |
| The customer's region name. Typically a province, a state, or a prefecture. |
| The code for the region of the address, such as the province, state, or district. For example |
| The customer's postal code, also known as zip, postcode, Eircode, etc. |
Example:
{
"id": 207119551,
"customer_id": 6940095564,
"first_name": "Clara",
"last_name": "Norman",
"company": null,
"address1": "Sunset Blvd, 92",
"address2": "Apt. 2",
"city": "Louisville",
"province": "Kentucky",
"country": "US",
"zip": "40202",
"phone": "555-625-1199",
"province_code": "KY",
"country_code": "US",
"country_name": "United States",
"default": true
}Last order object
Customer’s last order information. Has these properties:
Property | Description |
|---|---|
| A unique id for the customer |
| Reason the order was canceled. Returns |
| Date and time the order was canceled. Returns |
| Amount of the order-level discount (does not contain any line item discounts) in shop and presentment currencies. |
| Whether the order is closed. Boolean. |
| Date and time when the order closed. If the order is not closed, then this field is |
| Whether inventory has been reserved for the order. Boolean. |
| Date and time when the order was created in Shopify |
| The sum of the quantities for the line items that contribute to the order's subtotal. |
| The subtotal of line items and their discounts minus the line items that have been returned. This includes order-level discounts, unless the argument |
| The total amount discounted from the order (including order-level and line item discounts) minus the amounts for items that have been returned. |
| The total amount of the order (including taxes and discounts) minus the amounts for line items that have been returned. |
| Fulfillment status for the order that can be shown to the merchant. This field does not capture all the possible details of an order's fulfillment state. It should only be used for display summary purposes. |
| Total amount discounted from the order (include order-level and line item discounts) in shop and presentment currencies. |
| Total amount of the order (includes taxes and discounts) in shop and presentment currencies. |
| Total amount refunded for the order in shop and presentment currencies. |
Example:
{
"id": "gid://shopify/Order/3744530170021",
"cancelReason": null,
"cancelledAt": null,
"cartDiscountAmountSet": null,
"closed": false,
"closedAt": null,
"confirmed": true,
"createdAt": "2021-04-15T13:59:31Z",
"currentSubtotalLineItemsQuantity": 1,
"currentSubtotalPriceSet": {
"presentmentMoney": {
"amount": "0.5",
"currencyCode": "EUR"
},
"shopMoney": {
"amount": "0.5",
"currencyCode": "EUR"
}
},
"currentTotalDiscountsSet": {
"presentmentMoney": {
"amount": "0.0",
"currencyCode": "EUR"
}
},
"currentTotalPriceSet": {
"presentmentMoney": {
"amount": "0.5",
"currencyCode": "EUR"
}
},
"displayFulfillmentStatus": "UNFULFILLED",
"edited": false,
"email": "[email protected]",
"fulfillable": true,
"phone": null,
"shippingAddress": null,
"totalDiscountsSet": {
"presentmentMoney": {
"amount": "0.0",
"currencyCode": "EUR"
},
"shopMoney": {
"amount": "0.0",
"currencyCode": "EUR"
}
},
"totalPriceSet": {
"presentmentMoney": {
"amount": "0.5",
"currencyCode": "EUR"
},
"shopMoney": {
"amount": "0.5",
"currencyCode": "EUR"
}
},
"totalRefundedSet": {
"presentmentMoney": {
"amount": "0.0",
"currencyCode": "EUR"
},
"shopMoney": {
"amount": "0.0",
"currencyCode": "EUR"
}
}
}The info in this page is summarised from Shopify's docs.
Updated 7 days ago