class Falsify::Customer
See the [API documentation](help.shopify.com/en/api/reference/customers/customer).
Attributes
Whether the customer has consented to receive marketing material via email. @return [Boolean]
The date and time ([ISO 8601](en.wikipedia.org/wiki/ISO_8601) format) when the customer consented or objected to receiving marketing material by email. Set this value whenever the customer consents or objects to marketing materials. @return [String]
A list of the ten most recently updated addresses for the customer. @return [Array<Address>]
The date and time ([ISO 8601](en.wikipedia.org/wiki/ISO_8601) format) when the customer was created. @return [String]
The three-letter code ([ISO 4217](en.wikipedia.org/wiki/ISO_4217) format) for the currency that the customer used when they paid for their last order. Defaults to the shop currency. Returns the shop currency for test orders. @return [String]
The default address for the customer. The default address has the following properties: @return [Address]
The unique email address of the customer. Attempting to assign the same email address to multiple customers returns an error. @return [String]
The customer's first name. @return [String]
A unique identifier for the customer. @return [String]
The customer's last name. @return [String]
The ID of the customer's last order. @return [String]
The name of the customer's last order. This is directly related to the `name` field on the Order
resource. @return [String]
Attaches additional metadata to a shop's resources. @return [Metafield]
A unique identifier for the customer that's used with [Multipass login](help.shopify.com/en/api/reference/plus/multipass). @return [String]
A note about the customer. @return [String]
The number of orders associated with this customer. @return [String]
The unique phone number ([E.164 format](en.wikipedia.org/wiki/E.164)) for this customer. Attempting to assign the same phone number to multiple customers returns an error. The property can be set using different formats, but each format must represent a number that can be dialed from anywhere in the world. The following formats are all valid:
-
6135551212
-
+16135551212
-
(613)555-1212
-
+1 613-555-1212
@return [String]
Whether the customer is exempt from paying taxes on their order. If `true`, then taxes won't be applied to an order at checkout. If `false`, then taxes will be applied at checkout. @return [Boolean]
Whether the customer is exempt from paying specific taxes on their order. Canadian taxes only. @return [String]
The total amount of money that the customer has spent across their order history. @return [String]
The date and time ([ISO 8601](en.wikipedia.org/wiki/ISO_8601) format) when the customer information was last updated. @return [String]
Whether the customer has verified their email address. @return [Boolean]