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