A customer represents a customer account with the shop. Customer accounts store contact information for the customer, saving logged-in customers the trouble of having to provide it at every checkout.
More...
|
| CustomerQuery (StringBuilder query) |
| CustomerQuery is used to build queries. Typically CustomerQuery will not be used directly but instead will be used when building queries from either QueryRootQuery or MutationQuery. More...
|
|
CustomerQuery | acceptsMarketing () |
| Indicates whether the customer has consented to be sent marketing material via email. More...
|
|
CustomerQuery | addresses (MailingAddressConnectionDelegate buildQuery, long? first=null, string after=null, long? last=null, string before=null, bool? reverse=null, string alias=null) |
| A list of addresses for the customer. More...
|
|
CustomerQuery | createdAt () |
| The date and time when the customer was created. More...
|
|
CustomerQuery | defaultAddress (MailingAddressDelegate buildQuery) |
| The customer’s default address. More...
|
|
CustomerQuery | displayName () |
| The customer’s name, email or phone number. More...
|
|
CustomerQuery | email () |
| The customer’s email address. More...
|
|
CustomerQuery | firstName () |
| The customer’s first name. More...
|
|
CustomerQuery | id () |
| A unique identifier for the customer. More...
|
|
CustomerQuery | lastIncompleteCheckout (CheckoutDelegate buildQuery) |
| The customer's most recently updated, incomplete checkout. More...
|
|
CustomerQuery | lastName () |
| The customer’s last name. More...
|
|
CustomerQuery | orders (OrderConnectionDelegate buildQuery, long? first=null, string after=null, long? last=null, string before=null, bool? reverse=null, OrderSortKeys? sortKey=null, string queryValue=null, string alias=null) |
| The orders associated with the customer. More...
|
|
CustomerQuery | phone () |
| The customer’s phone number. More...
|
|
CustomerQuery | tags () |
| A comma separated list of tags that have been added to the customer. Additional access scope required: unauthenticated_read_customer_tags. More...
|
|
CustomerQuery | updatedAt () |
| The date and time when the customer information was updated. More...
|
|
A customer represents a customer account with the shop. Customer accounts store contact information for the customer, saving logged-in customers the trouble of having to provide it at every checkout.
◆ CustomerQuery()
Shopify.Unity.GraphQL.CustomerQuery.CustomerQuery |
( |
StringBuilder |
query | ) |
|
|
inline |
◆ acceptsMarketing()
CustomerQuery Shopify.Unity.GraphQL.CustomerQuery.acceptsMarketing |
( |
| ) |
|
|
inline |
Indicates whether the customer has consented to be sent marketing material via email.
◆ addresses()
CustomerQuery Shopify.Unity.GraphQL.CustomerQuery.addresses |
( |
MailingAddressConnectionDelegate |
buildQuery, |
|
|
long? |
first = null , |
|
|
string |
after = null , |
|
|
long? |
last = null , |
|
|
string |
before = null , |
|
|
bool? |
reverse = null , |
|
|
string |
alias = null |
|
) |
| |
|
inline |
A list of addresses for the customer.
- Parameters
-
first | Returns up to the first n elements from the list. |
after | Returns the elements that come after the specified cursor. |
last | Returns up to the last n elements from the list. |
before | Returns the elements that come before the specified cursor. |
reverse | Reverse the order of the underlying list. |
◆ createdAt()
The date and time when the customer was created.
◆ defaultAddress()
CustomerQuery Shopify.Unity.GraphQL.CustomerQuery.defaultAddress |
( |
MailingAddressDelegate |
buildQuery | ) |
|
|
inline |
The customer’s default address.
◆ displayName()
CustomerQuery Shopify.Unity.GraphQL.CustomerQuery.displayName |
( |
| ) |
|
|
inline |
The customer’s name, email or phone number.
◆ email()
The customer’s email address.
◆ firstName()
The customer’s first name.
◆ id()
A unique identifier for the customer.
◆ lastIncompleteCheckout()
CustomerQuery Shopify.Unity.GraphQL.CustomerQuery.lastIncompleteCheckout |
( |
CheckoutDelegate |
buildQuery | ) |
|
|
inline |
The customer's most recently updated, incomplete checkout.
◆ lastName()
The customer’s last name.
◆ orders()
CustomerQuery Shopify.Unity.GraphQL.CustomerQuery.orders |
( |
OrderConnectionDelegate |
buildQuery, |
|
|
long? |
first = null , |
|
|
string |
after = null , |
|
|
long? |
last = null , |
|
|
string |
before = null , |
|
|
bool? |
reverse = null , |
|
|
OrderSortKeys? |
sortKey = null , |
|
|
string |
queryValue = null , |
|
|
string |
alias = null |
|
) |
| |
|
inline |
The orders associated with the customer.
- Parameters
-
first | Returns up to the first n elements from the list. |
after | Returns the elements that come after the specified cursor. |
last | Returns up to the last n elements from the list. |
before | Returns the elements that come before the specified cursor. |
reverse | Reverse the order of the underlying list. |
sortKey | Sort the underlying list by the given key. |
query | Supported filter parameters:
|
See the detailed search syntax for more information about using filters.
◆ phone()
The customer’s phone number.
◆ tags()
A comma separated list of tags that have been added to the customer. Additional access scope required: unauthenticated_read_customer_tags.
◆ updatedAt()
The date and time when the customer information was updated.
The documentation for this class was generated from the following file:
- Assets/Shopify/Unity/Generated/GraphQL/CustomerQuery.cs