Customer
Attribute
type Attribute: object;
Type declaration
Name | Type |
---|---|
key | string |
value | string |
Customer
type Customer: User & object;
Type declaration
Name | Type |
---|---|
acceptsMarketing | boolean |
addresses | MailingAddressConnection |
createdAt | string |
defaultAddress | MailingAddress |
firstName | string |
lastName | string |
numberOfOrders | number |
phone | string |
updatedAt | string |
CustomerOrdersQuery
type CustomerOrdersQuery: object;
Type declaration
Name | Type |
---|---|
customer | Customer |
orders | object |
orders.nodes | Order [] |
orders.pageInfo | PageInfo |
CustomerUpdateInput
type CustomerUpdateInput: object;
Type declaration
Name | Type |
---|---|
acceptsMarketing | boolean |
email | string |
firstName | string |
lastName | string |
password | string |
phone | string |
DiscountAllocation
type DiscountAllocation: object;
Type declaration
Name | Type |
---|---|
code | string |
totalDiscount | Money |
Fulfillment
type Fulfillment: object;
Type declaration
Name | Type |
---|---|
fulfillmentLineItems | FulfillmentLineItemConnection |
trackingCompany | string |
trackingInfo | FulfillmentTrackingInfo [] |
FulfillmentLineItem
type FulfillmentLineItem: object;
Type declaration
Name | Type |
---|---|
lineItem | OrderLineItem |
quantity | number |
FulfillmentLineItemConnection
type FulfillmentLineItemConnection: object;
Type declaration
Name | Type |
---|---|
nodes | FulfillmentLineItem [] |
pageInfo | PageInfo |
FulfillmentTrackingInfo
type FulfillmentTrackingInfo: object;
Type declaration
Name | Type |
---|---|
number | string |
url | string |
LoginResponse
type LoginResponse: object;
Type declaration
Name | Type |
---|---|
redirect | string |
MailingAddress
type MailingAddress: object;
Type declaration
Name | Type |
---|---|
address1 | string |
address2 | string |
city | string |
company | string |
country | string |
countryCode | string |
defaultBilling | boolean |
defaultShipping | boolean |
firstName | string |
formatted | string [] |
formattedArea | string |
id | string |
lastName | string |
latitude | number |
longitude | number |
name | string |
phone | string |
province | string |
provinceCode | string |
zip | string |
MailingAddressConnection
type MailingAddressConnection: object;
Type declaration
Name | Type |
---|---|
nodes | MailingAddress [] |
Order
type Order: object;
Type declaration
Name | Type |
---|---|
billingAddress | MailingAddress |
cancelReason | OrderCancelReason |
canceledAt | string |
currencyCode | string |
customAttributes | Attribute [] |
customerLocale | string |
customerUrl | string |
email | string |
financialStatus | OrderFinancialStatus |
fulfillmentStatus | OrderFulfillmentStatus |
id | string |
lineItems | OrderLineItem [] |
name | string |
orderNumber | string |
phone | string |
processedAt | string |
shippingAddress | MailingAddress |
statusUrl | string |
subtotalPrice | Money |
successfulFulfillments | Fulfillment [] |
totalDiscount | Money |
totalPrice | Money |
totalRefunded | Money |
totalShippingPrice | Money |
totalTax | Money |
OrderCancelReason
type OrderCancelReason: | "CUSTOMER" | "DECLINED" | "FRAUD" | "INVENTORY" | "OTHER" | "STAFF";
Represents the reason for the order’s cancellation.
OrderFinancialStatus
type OrderFinancialStatus: | "AUTHORIZED" | "PAID" | "PARTIALLY_PAID" | "PARTIALLY_REFUNDED" | "PENDING" | "REFUNDED" | "VOIDED";
Represents the order’s current financial status.
OrderFulfillmentStatus
type OrderFulfillmentStatus: | "FULFILLED" | "IN_PROGRESS" | "ON_HOLD" | "OPEN" | "PARTIALLY_FULFILLED" | "PENDING_FULFILLMENT" | "RESTOCKED" | "SCHEDULED" | "UNFULFILLED";
Represents the order’s aggregated fulfillment status for display purposes.
OrderLineItem
type OrderLineItem: object;
Type declaration
Name | Type |
---|---|
currentQuantity | number |
customAttributes | Attribute [] |
discountAllocations | DiscountAllocation [] |
discountedTotalPrice | Money |
id | string |
image | Image |
originalTotalPrice | Money |
productId | string |
quantity | number |
slug | string |
title | string |
variant | ProductVariant |
User
type User: object;
Type declaration
Name | Type |
---|---|
displayName | string |
email | string |
id | string |