Node
An object with an ID field to support global identification, in accordance with the Relay specification. This interface is used by the node and nodes queries.
Anchor to FieldsFields
- •ID!non-nullPre-auth accessible
A globally-unique ID.
Anchor to Types implemented inTypes implemented in
- •OBJECT
A sale that includes an additional fee charge.
- Anchor to actionTypeaction•Sale
Type Action Type! non-null The type of order action represented by the sale.
- •ID!non-null
The unique ID of the sale.
- Anchor to lineTypeline•Sale
Type Line Type! non-null The type of line associated with the sale.
- Anchor to quantityquantity•Int
The number of units ordered or intended to be returned.
- Anchor to taxestaxes•[Sale
Tax!]! non-null The individual taxes associated with the sale.
- Anchor to totalAmounttotal•Money
Amount V2! non-null The total sale amount after taxes and discounts.
- Anchor to totalDiscountAmountAfterTaxestotal•Money
Discount Amount After Taxes V2! non-null The total amount of discounts allocated to the sale after taxes.
- Anchor to totalDiscountAmountBeforeTaxestotal•Money
Discount Amount Before Taxes V2! non-null The total discounts allocated to the sale before taxes.
- Anchor to totalTaxAmounttotal•Money
Tax Amount V2! non-null The total tax amount for the sale.
- •OBJECT
A sale event that results in an adjustment to the order price.
- Anchor to actionTypeaction•Sale
Type Action Type! non-null The type of order action represented by the sale.
- •ID!non-null
The unique ID of the sale.
- Anchor to lineTypeline•Sale
Type Line Type! non-null The type of line associated with the sale.
- Anchor to quantityquantity•Int
The number of units ordered or intended to be returned.
- Anchor to taxestaxes•[Sale
Tax!]! non-null The individual taxes associated with the sale.
- Anchor to totalAmounttotal•Money
Amount V2! non-null The total sale amount after taxes and discounts.
- Anchor to totalDiscountAmountAfterTaxestotal•Money
Discount Amount After Taxes V2! non-null The total amount of discounts allocated to the sale after taxes.
- Anchor to totalDiscountAmountBeforeTaxestotal•Money
Discount Amount Before Taxes V2! non-null The total discounts allocated to the sale before taxes.
- Anchor to totalTaxAmounttotal•Money
Tax Amount V2! non-null The total tax amount for the sale.
- •OBJECT
The details about the gift card used on the checkout.
- Anchor to amountUsedamount•Money
Used V2! non-null The amount deducted from the gift card.
- Anchor to balancebalance•Money
V2! non-null The remaining amount on the gift card.
- •ID!non-nullPre-auth accessible
A globally-unique ID.
- Anchor to lastCharacterslast•String!
Characters non-null The last characters of the gift card.
- Anchor to presentmentAmountUsedpresentment•Money
Amount Used V2! non-null The amount applied to the checkout in its currency.
- •OBJECT
A container for information required to checkout items and pay. Apps using the Customer Account API must meet the protected customer data requirements.
- Anchor to appliedGiftCardsapplied•[Applied
Gift Cards Gift Card!]! non-null The gift cards used on the checkout.
- Anchor to availableShippingRatesavailable•Available
Shipping Rates Shipping Rates The available shipping rates for this Checkout. Should only be used when checkout
is
true
and the shipping address is valid.- Anchor to createdAtcreated•Date
At Time! non-null The date and time when the checkout was created.
- Anchor to currencyCodecurrency•Currency
Code Code! non-null The currency code for the checkout.
- Anchor to customAttributescustom•[Attribute!]!
Attributes non-null The extra information added to the checkout.
- Anchor to discountApplicationsdiscount•Discount
Applications Application Connection! non-null The discounts applied on the checkout.
- Anchor to emailemail•String
The email associated with this checkout.
- •ID!non-nullPre-auth accessible
A globally-unique ID.
- Anchor to lineItemsline•Checkout
Items Line Item Connection! non-null A list of line item objects, each containing information about an item in the checkout.
- Anchor to lineItemsSubtotalPriceline•Money
Items Subtotal Price V2! non-null The sum of all the prices of all the items in the checkout, excluding duties, taxes, shipping, and discounts.
- Anchor to notenote•String
The note associated with the checkout.
- Anchor to paymentDuepayment•Money
Due V2! non-null The amount left to be paid. This is equal to the cost of the line items, duties, taxes, and shipping, minus discounts and gift cards.
- Anchor to readyready•Boolean!non-null
Whether the Checkout is ready and can be completed. Checkouts may have asynchronous operations that can take time to finish. If you want to complete a checkout or ensure all the fields are populated and up to date, polling is required until the value is true.
- Anchor to requiresShippingrequires•Boolean!
Shipping non-null Whether the fulfillment requires shipping.
- Anchor to shippingDiscountAllocationsshipping•[Discount
Discount Allocations Allocation!]! non-null The discounts allocated to the shipping line by discount applications.
- Anchor to shippingLineshipping•Shipping
Line Rate The selected shipping rate, transitioned to a
object.
- Anchor to subtotalPricesubtotal•Money
Price V2! non-null The price at checkout before duties, shipping, and taxes.
- Anchor to taxesIncludedtaxes•Boolean!
Included non-null Whether taxes are included in the line item and shipping line prices.
- Anchor to taxExempttax•Boolean!
Exempt non-null Whether the checkout is tax exempt.
- Anchor to totalDutiestotal•Money
Duties V2 The sum of all the duties applied to the line items in the checkout.
- Anchor to totalPricetotal•Money
Price V2! non-null The sum of all the prices of all the items in the checkout, duties, taxes, and discounts included.
- Anchor to totalTaxtotal•Money
Tax V2! non-null The sum of all the taxes applied to the line items and shipping lines in the checkout.
- Anchor to webUrlweb•URL!
Url non-null The URL for the checkout, accessible from the web.
- •OBJECT
A line item in the checkout, grouped by variant and attributes.
- Anchor to customAttributescustom•[Attribute!]!
Attributes non-null An array of Key-Value pairs providing extra information about the line item.
- •ID!non-nullPre-auth accessible
A globally-unique ID.
- Anchor to priceprice•Money
V2 The price of the line item.
- Anchor to quantityquantity•Int!non-null
The quantity of the line item.
- Anchor to titletitle•String!non-null
The title of the line item. Defaults to the product's title.
- Anchor to unitPriceunit•Money
Price V2 The unit price of the line item.
- Anchor to variantTitlevariant•String
Title The name of the variant.
- •OBJECT
Represents a company's information.
- Anchor to draftOrdersdraft•Draft
Orders Order Connection! non-null The list of company draft orders.
- Anchor to externalIdexternal•String
Id A unique externally-supplied ID for the company.
- •ID!non-nullPre-auth accessible
A globally-unique ID.
- Anchor to locationslocations•Company
Location Connection! non-null The list of locations that the business of the business contact belongs to.
- Anchor to metafieldmetafield•Metafield
A metafield found by namespace and key.
- Anchor to metafieldsmetafields•[Metafield]!non-nullPre-auth accessible
The metafields associated with the resource matching the supplied list of namespaces and keys.
- Anchor to namename•String!non-nullPre-auth accessible
The name of the company.
- Anchor to ordersorders•Order
Connection! non-null The list of customer orders under the company.
- •OBJECT
The address of a company location, either billing or shipping. Apps using the Customer Account API must meet the protected customer data requirements.
- Anchor to address1address1•String!non-null
The first line of the address. It is typically the street address or PO Box number.
- Anchor to address2address2•String
The second line of the address. It is typically the apartment, suite, or unit number.
- Anchor to citycity•String
The city, district, village, or town.
- Anchor to companyNamecompany•String!
Name non-null The name of the company.
- Anchor to countrycountry•String
The name of the country of the address.
- Anchor to countryCodecountry•Country
Code Code! non-null The two-letter code for the country of the address, for example, US.
- Anchor to createdAtcreated•Date
At Time! non-null The date and time (in ISO 8601 format) when the company address was created.
- Anchor to firstNamefirst•String
Name The first name of the recipient.
- Anchor to formattedAddressformatted•[String!]!
Address non-null The formatted version of the address.
- Anchor to withNamewith•Boolean
Name Default:false Whether to include the name of the recipient in the formatted address.
- Anchor to withCompanyNamewith•Boolean
Company Name Default:true Whether to include the company name in the formatted address.
Arguments
- Anchor to formattedAreaformatted•String
Area A comma-separated list of the city, province, and country values.
- •ID!non-nullPre-auth accessible
A globally-unique ID.
- Anchor to lastNamelast•String
Name The last name of the recipient.
- Anchor to phonephone•String
The unique phone number of the customer, formatted using the E.164 standard, for example, +16135551111.
- Anchor to provinceprovince•String
The region of the address, such as the province, state, or district.
- Anchor to recipientrecipient•String
The identity of the recipient, for example, 'Receiving Department'.
- Anchor to updatedAtupdated•Date
At Time! non-null The date and time (in ISO 8601 format) when the company address was last updated.
- •String
The zip or postal code of the address.
- Anchor to zoneCodezone•String
Code The alphanumeric code for the region, for example, ON.
- •OBJECT
Represents the customer's contact information.
- Anchor to companycompany•Company
The information of the copmany contact's company.
- Anchor to customercustomer•Customer!non-null
The customer associated to this contact.
- Anchor to draftOrdersdraft•Draft
Orders Order Connection! non-null The list of company contact's draft orders.
- •ID!non-nullPre-auth accessible
A globally-unique ID.
- Anchor to locationslocations•Company
Location Connection! non-null The list of locations that the company contact belongs to.
- Anchor to ordersorders•Order
Connection! non-null The list of company contact's orders.
- Anchor to titletitle•String
The job title of the company contact.
- •OBJECT
A role for a company contact. Apps using the Customer Account API must meet the protected customer data requirements.
- •ID!non-nullPre-auth accessible
A globally-unique ID.
- Anchor to namename•String!non-null
The name of the role.
- Anchor to resourcePermissionresource•[Permitted
Permission Operation!]! non-null The permissions on a specified resource.
- Anchor to resourcePermissionsresource•[Resource
Permissions Permission!]! non-null A list of permissions on all resources.
- •ID!
- •OBJECT
Represents information about a company contact role assignment.
- Anchor to contactcontact•Company
Contact! non-null The company contact for whom this role is assigned.
- •ID!non-nullPre-auth accessible
A globally-unique ID.
- Anchor to rolerole•Company
Contact Role! non-null The role that's assigned.
- •OBJECT
Represents a company's business location.
- Anchor to billingAddressbilling•Company
Address Address The billing address of the company location.
- Anchor to buyerExperienceConfigurationbuyer•Buyer
Experience Configuration Experience Configuration The configuration of the buyer's B2B checkout.
- Anchor to contactscontacts•Company
Contact Connection! non-null The list of contacts under a particular business location.
- Anchor to draftOrdersdraft•Draft
Orders Order Connection! non-null The list of company draft orders.
- Anchor to externalIdexternal•String
Id A unique externally-supplied ID for the location.
- •ID!non-nullPre-auth accessible
A globally-unique ID.
- Anchor to metafieldmetafield•Metafield
A metafield found by namespace and key.
- Anchor to metafieldsmetafields•[Metafield]!non-nullPre-auth accessible
The metafields associated with the resource matching the supplied list of namespaces and keys.
- Anchor to namename•String!non-nullPre-auth accessible
The name of the company location.
- Anchor to ordersorders•Order
Connection! non-null The list of customer orders under the company.
- Anchor to roleAssignmentsrole•Company
Assignments Contact Role Assignment Connection! non-null The list of roles assigned to this location.
- Anchor to shippingAddressshipping•Company
Address Address The shipping address of the company location.
- Anchor to taxIdentifiertax•String
Identifier The tax id of the company location.
- Anchor to marketmarket•Market!
- •OBJECT
Represents the personal information of a customer. Apps using the Customer Account API must meet the protected customer data requirements.
- Anchor to addressesaddresses•Customer
Address Connection! non-null The addresses associated with the customer.
- Anchor to companyContactscompany•Company
Contacts Contact Connection! non-null The list of contacts the customer is associated with.
- Anchor to creationDatecreation•Date
Date Time! non-null The date and time when the customer was created.
- Anchor to defaultAddressdefault•Customer
Address Address The default address of the customer.
- Anchor to displayNamedisplay•String!
Name non-null The full name of the customer, based on the first_name and last_name values. If these aren't available, it falls back to the customer's email address, and if that isn't available, the customer's phone number.
- Anchor to draftOrdersdraft•Draft
Orders Order Connection! non-null The Draft Orders associated with the customer.
- Anchor to emailAddressemail•Customer
Address Email Address The email address of the customer.
- Anchor to firstNamefirst•String
Name The first name of the customer.
- •ID!non-nullPre-auth accessible
A globally-unique ID.
- Anchor to imageUrlimage•URL!
Url non-null The URL to the avatar image of the customer.
- Anchor to lastIncompleteCheckoutlast•Checkout
Incomplete Checkout The customer's most recently updated, incomplete checkout.
- Anchor to lastNamelast•String
Name The last name of the customer.
- Anchor to metafieldmetafield•Metafield
A metafield found by namespace and key.
- Anchor to metafieldsmetafields•[Metafield]!non-nullPre-auth accessible
The metafields associated with the resource matching the supplied list of namespaces and keys.
- Anchor to ordersorders•Order
Connection! non-null The orders associated with the customer.
- Anchor to phoneNumberphone•Customer
Number Phone Number The phone number of the customer.
- Anchor to storeCreditAccountsstore•Store
Credit Accounts Credit Account Connection! non-nullPre-auth accessible A list of the owner resource's store credit accounts. Store credit accounts are not shown for shops with store credit disabled at checkout.
- Anchor to subscriptionContractsubscription•Subscription
Contract Contract A Subscription Contract resource identified by ID.
- Anchor to subscriptionContractssubscription•Subscription
Contracts Contract Connection! non-null The Subscription Contracts associated with the customer.
- •[String!]!non-null
A comma-separated list of tags that have been added to the customer.
- •OBJECT
Represents a customer's mailing address. For example, a customer's default address and an order's billing address are both mailing addresses. Apps using the Customer Account API must meet the protected customer data requirements.
- Anchor to address1address1•String
The first line of the address. Typically the street address or PO Box number.
- Anchor to address2address2•String
The second line of the address. This is typically the apartment, suite, or unit number.
- Anchor to citycity•String
The name of the city, district, village, or town.
- Anchor to companycompany•String
The name of the customer's company or organization.
- Anchor to countrycountry•String
The name of the country.
- Anchor to firstNamefirst•String
Name The first name of the customer.
- Anchor to formattedformatted•[String!]!non-nullPre-auth accessible
A formatted version of the address, customized by the provided arguments.
- Anchor to withNamewith•Boolean
Name Default:false Determines whether to include the customer's name in the formatted address.
- Anchor to withCompanywith•Boolean
Company Default:true Determines whether to include the customer's company in the formatted address.
Arguments
- Anchor to formattedAreaformatted•String
Area A comma-separated list of the values for city, province, and country.
- •ID!non-nullPre-auth accessible
A globally-unique ID.
- Anchor to lastNamelast•String
Name The last name of the customer.
- Anchor to namename•String
The full name of the customer, based on firstName and lastName.
- Anchor to phoneNumberphone•String
Number The customer's unique phone number.
Formatted using E.164 standard. For example, +16135551111.
- Anchor to provinceprovince•String
The region of the address, such as the province, state, or district.
- Anchor to territoryCodeterritory•Country
Code Code The two-letter code for the country of the address.
For example, US.
- •String
The zip or postal code of the address.
- Anchor to zoneCodezone•String
Code The alphanumeric code for the region.
For example, ON.
- •OBJECT
A unique string representing the address of a Shopify store on the Internet.
- Anchor to hosthost•String!non-null
The host name of the domain (for example,
example.com
).- •ID!non-nullPre-auth accessible
A globally-unique ID.
- Anchor to redirectHostredirect•String
Host The host of the primary domain that this domain redirects to (for example,
example.com
).- •URL!non-null
The URL of the domain (for example,
example.com
).
- •OBJECT
A draft order for the customer. Any fields related to money are in the presentment currency. Apps using the Customer Account API must meet the protected customer data requirements.
- Anchor to amountDueLateramount•Money
Due Later V2! non-null The amount due later. When there are payment terms, this is the total price minus the deposit amount (if any). When there are no payment terms, this is 0.
- Anchor to amountDueNowamount•Money
Due Now V2! non-null The amount due now. When there are payment terms this is the value of the deposit (0 by default). When there are no payment terms, this is the total price.
- Anchor to billingAddressbilling•Customer
Address Address The billing address of the customer.
- Anchor to createdAtcreated•Date
At Time! non-null The date and time when the draft order was created in Shopify.
- Anchor to currencyCodecurrency•Currency
Code Code! non-null The three-letter code for the currency of the store at the time that the invoice is sent.
- Anchor to customercustomer•Customer
The customer who placed the order.
- Anchor to depositdeposit•Deposit
Configuration The portion required to be paid at checkout.
- Anchor to discountInformationdiscount•Draft
Information Order Discount Information! non-null The discount information for the draft order.
- Anchor to emailemail•String
The email address of the customer, which is used to send notifications to.
- •ID!non-nullPre-auth accessible
A globally-unique ID.
- Anchor to inReviewin•Boolean!
Review non-null Whether the draft order is created from the online store and is open.
- Anchor to invoiceUrlinvoice•URL
Url The link to the checkout, which is sent to the customer in the invoice email.
- Anchor to lineItemsline•Draft
Items Order Line Item Connection! non-null The list of the line items in the draft order.
- Anchor to lineItemsSummaryline
Items Summary