Skip to content

Customer

Attribute

type Attribute: object;

Type declaration

NameType
keystring
valuestring

Customer

type Customer: User & object;

Type declaration

NameType
acceptsMarketingboolean
addressesMailingAddressConnection
createdAtstring
defaultAddressMailingAddress
firstNamestring
lastNamestring
numberOfOrdersnumber
phonestring
updatedAtstring

CustomerOrdersQuery

type CustomerOrdersQuery: object;

Type declaration

NameType
customerCustomer
ordersobject
orders.nodesOrder[]
orders.pageInfoPageInfo

CustomerUpdateInput

type CustomerUpdateInput: object;

Type declaration

NameType
acceptsMarketingboolean
emailstring
firstNamestring
lastNamestring
passwordstring
phonestring

DiscountAllocation

type DiscountAllocation: object;

Type declaration

NameType
codestring
totalDiscountMoney

Fulfillment

type Fulfillment: object;

Type declaration

NameType
fulfillmentLineItemsFulfillmentLineItemConnection
trackingCompanystring
trackingInfoFulfillmentTrackingInfo[]

FulfillmentLineItem

type FulfillmentLineItem: object;

Type declaration

NameType
lineItemOrderLineItem
quantitynumber

FulfillmentLineItemConnection

type FulfillmentLineItemConnection: object;

Type declaration

NameType
nodesFulfillmentLineItem[]
pageInfoPageInfo

FulfillmentTrackingInfo

type FulfillmentTrackingInfo: object;

Type declaration

NameType
numberstring
urlstring

LoginResponse

type LoginResponse: object;

Type declaration

NameType
redirectstring

MailingAddress

type MailingAddress: object;

Type declaration

NameType
address1string
address2string
citystring
companystring
countrystring
countryCodestring
defaultBillingboolean
defaultShippingboolean
firstNamestring
formattedstring[]
formattedAreastring
idstring
lastNamestring
latitudenumber
longitudenumber
namestring
phonestring
provincestring
provinceCodestring
zipstring

MailingAddressConnection

type MailingAddressConnection: object;

Type declaration

NameType
nodesMailingAddress[]

Order

type Order: object;

Type declaration

NameType
billingAddressMailingAddress
cancelReasonOrderCancelReason
canceledAtstring
currencyCodestring
customAttributesAttribute[]
customerLocalestring
customerUrlstring
emailstring
financialStatusOrderFinancialStatus
fulfillmentStatusOrderFulfillmentStatus
idstring
lineItemsOrderLineItem[]
namestring
orderNumberstring
phonestring
processedAtstring
shippingAddressMailingAddress
statusUrlstring
subtotalPriceMoney
successfulFulfillmentsFulfillment[]
totalDiscountMoney
totalPriceMoney
totalRefundedMoney
totalShippingPriceMoney
totalTaxMoney

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

NameType
currentQuantitynumber
customAttributesAttribute[]
discountAllocationsDiscountAllocation[]
discountedTotalPriceMoney
idstring
imageImage
originalTotalPriceMoney
productIdstring
quantitynumber
slugstring
titlestring
variantProductVariant

User

type User: object;

Type declaration

NameType
displayNamestring
emailstring
idstring