Skip to main content
interface

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.

•ID!

A globally-unique ID.


Was this section helpful?

Anchor to Types implemented inTypes implemented in

•OBJECT

A sale that includes an additional fee charge.

•SaleActionType!
non-null

The type of order action represented by the sale.

•ID!
non-null

The unique ID of the sale.

•SaleLineType!
non-null

The type of line associated with the sale.

•Int

The number of units ordered or intended to be returned.

•[SaleTax!]!
non-null

The individual taxes associated with the sale.

•MoneyV2!
non-null

The total sale amount after taxes and discounts.

Anchor to totalDiscountAmountAfterTaxestotalDiscountAmountAfterTaxes
•MoneyV2!
non-null

The total amount of discounts allocated to the sale after taxes.

Anchor to totalDiscountAmountBeforeTaxestotalDiscountAmountBeforeTaxes
•MoneyV2!
non-null

The total discounts allocated to the sale before taxes.

•MoneyV2!
non-null

The total tax amount for the sale.

•OBJECT

A sale event that results in an adjustment to the order price.

•SaleActionType!
non-null

The type of order action represented by the sale.

•ID!
non-null

The unique ID of the sale.

•SaleLineType!
non-null

The type of line associated with the sale.

•Int

The number of units ordered or intended to be returned.

•[SaleTax!]!
non-null

The individual taxes associated with the sale.

•MoneyV2!
non-null

The total sale amount after taxes and discounts.

Anchor to totalDiscountAmountAfterTaxestotalDiscountAmountAfterTaxes
•MoneyV2!
non-null

The total amount of discounts allocated to the sale after taxes.

Anchor to totalDiscountAmountBeforeTaxestotalDiscountAmountBeforeTaxes
•MoneyV2!
non-null

The total discounts allocated to the sale before taxes.

•MoneyV2!
non-null

The total tax amount for the sale.

•OBJECT

The details about the gift card used on the checkout.

•MoneyV2!
non-null

The amount deducted from the gift card.

•MoneyV2!
non-null

The remaining amount on the gift card.

•ID!

A globally-unique ID.

•String!
non-null

The last characters of the gift card.

Anchor to presentmentAmountUsedpresentmentAmountUsed
•MoneyV2!
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.

•[AppliedGiftCard!]!
non-null

The gift cards used on the checkout.

Anchor to availableShippingRatesavailableShippingRates
•AvailableShippingRates

The available shipping rates for this Checkout. Should only be used when checkout requiresShipping is true and the shipping address is valid.

•DateTime!
non-null

The date and time when the checkout was created.

•CurrencyCode!
non-null

The currency code for the checkout.

•[Attribute!]!
non-null

The extra information added to the checkout.

Anchor to discountApplicationsdiscountApplications
•DiscountApplicationConnection!
non-null

The discounts applied on the checkout.

•String

The email associated with this checkout.

•ID!

A globally-unique ID.

•CheckoutLineItemConnection!
non-null

A list of line item objects, each containing information about an item in the checkout.

Anchor to lineItemsSubtotalPricelineItemsSubtotalPrice
•MoneyV2!
non-null

The sum of all the prices of all the items in the checkout, excluding duties, taxes, shipping, and discounts.

•String

The note associated with the checkout.

•MoneyV2!
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.

•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.

•Boolean!
non-null

Whether the fulfillment requires shipping.

Anchor to shippingDiscountAllocationsshippingDiscountAllocations
•[DiscountAllocation!]!
non-null

The discounts allocated to the shipping line by discount applications.

•ShippingRate

The selected shipping rate, transitioned to a shipping_line object.

•MoneyV2!
non-null

The price at checkout before duties, shipping, and taxes.

•Boolean!
non-null

Whether taxes are included in the line item and shipping line prices.

•Boolean!
non-null

Whether the checkout is tax exempt.

•MoneyV2

The sum of all the duties applied to the line items in the checkout.

•MoneyV2!
non-null

The sum of all the prices of all the items in the checkout, duties, taxes, and discounts included.

•MoneyV2!
non-null

The sum of all the taxes applied to the line items and shipping lines in the checkout.

•URL!
non-null

The URL for the checkout, accessible from the web.

•OBJECT

A line item in the checkout, grouped by variant and attributes.

•[Attribute!]!
non-null

An array of Key-Value pairs providing extra information about the line item.

•ID!

A globally-unique ID.

•MoneyV2

The price of the line item.

•Int!
non-null

The quantity of the line item.

•String!
non-null

The title of the line item. Defaults to the product's title.

•MoneyV2

The unit price of the line item.

•String

The name of the variant.

•OBJECT

Represents a company's information.

•DraftOrderConnection!
non-null

The list of company draft orders.

•String

A unique externally-supplied ID for the company.

•ID!

A globally-unique ID.

•CompanyLocationConnection!
non-null

The list of locations that the business of the business contact belongs to.

•Metafield

A metafield found by namespace and key.

•[Metafield]!

The metafields associated with the resource matching the supplied list of namespaces and keys.

•String!

The name of the company.

•OrderConnection!
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.

•String!
non-null

The first line of the address. It is typically the street address or PO Box number.

•String

The second line of the address. It is typically the apartment, suite, or unit number.

•String

The city, district, village, or town.

•String!
non-null

The name of the company.

•String

The name of the country of the address.

•CountryCode!
non-null

The two-letter code for the country of the address, for example, US.

•DateTime!
non-null

The date and time (in ISO 8601 format) when the company address was created.

•String

The first name of the recipient.

•[String!]!
non-null

The formatted version of the address.

Arguments

•Boolean
Default:false

Whether to include the name of the recipient in the formatted address.

•Boolean
Default:true

Whether to include the company name in the formatted address.


•String

A comma-separated list of the city, province, and country values.

•ID!

A globally-unique ID.

•String

The last name of the recipient.

•String

The unique phone number of the customer, formatted using the E.164 standard, for example, +16135551111.

•String

The region of the address, such as the province, state, or district.

•String

The identity of the recipient, for example, 'Receiving Department'.

•DateTime!
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.

•String

The alphanumeric code for the region, for example, ON.

•OBJECT

Represents the customer's contact information.

•Company

The information of the copmany contact's company.

•Customer!
non-null

The customer associated to this contact.

•DraftOrderConnection!
non-null

The list of company contact's draft orders.

•ID!

A globally-unique ID.

•CompanyLocationConnection!
non-null

The list of locations that the company contact belongs to.

•OrderConnection!
non-null

The list of company contact's orders.

•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!

A globally-unique ID.

•String!
non-null

The name of the role.

•[PermittedOperation!]!
non-null

The permissions on a specified resource.

•[ResourcePermission!]!
non-null

A list of permissions on all resources.

•OBJECT

Represents information about a company contact role assignment.

•CompanyContact!
non-null

The company contact for whom this role is assigned.

•ID!

A globally-unique ID.

•CompanyContactRole!
non-null

The role that's assigned.

•OBJECT

Represents a company's business location.

•CompanyAddress

The billing address of the company location.

Anchor to buyerExperienceConfigurationbuyerExperienceConfiguration
•BuyerExperienceConfiguration

The configuration of the buyer's B2B checkout.

•CompanyContactConnection!
non-null

The list of contacts under a particular business location.

•DraftOrderConnection!
non-null

The list of company draft orders.

•String

A unique externally-supplied ID for the location.

•ID!

A globally-unique ID.

•Metafield

A metafield found by namespace and key.

•[Metafield]!

The metafields associated with the resource matching the supplied list of namespaces and keys.

•String!

The name of the company location.

•OrderConnection!
non-null

The list of customer orders under the company.

•CompanyContactRoleAssignmentConnection!
non-null

The list of roles assigned to this location.

•CompanyAddress

The shipping address of the company location.

•String

The tax id of the company location.

•Market!
non-nullDeprecatedPre-auth accessible
•OBJECT

Represents the personal information of a customer. Apps using the Customer Account API must meet the protected customer data requirements.

•CustomerAddressConnection!
non-null

The addresses associated with the customer.

•CompanyContactConnection!
non-null

The list of contacts the customer is associated with.

•DateTime!
non-null

The date and time when the customer was created.

•CustomerAddress

The default address of the customer.

•String!
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.

•DraftOrderConnection!
non-null

The Draft Orders associated with the customer.

•CustomerEmailAddress

The email address of the customer.

•String

The first name of the customer.

•ID!

A globally-unique ID.

•URL!
non-null

The URL to the avatar image of the customer.

Anchor to lastIncompleteCheckoutlastIncompleteCheckout
•Checkout

The customer's most recently updated, incomplete checkout.

•String

The last name of the customer.

•Metafield

A metafield found by namespace and key.

•[Metafield]!

The metafields associated with the resource matching the supplied list of namespaces and keys.

•OrderConnection!
non-null

The orders associated with the customer.

•CustomerPhoneNumber

The phone number of the customer.

•StoreCreditAccountConnection!

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 subscriptionContractsubscriptionContract
•SubscriptionContract

A Subscription Contract resource identified by ID.

Anchor to subscriptionContractssubscriptionContracts
•SubscriptionContractConnection!
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.

•String

The first line of the address. Typically the street address or PO Box number.

•String

The second line of the address. This is typically the apartment, suite, or unit number.

•String

The name of the city, district, village, or town.

•String

The name of the customer's company or organization.

•String

The name of the country.

•String

The first name of the customer.

•[String!]!

A formatted version of the address, customized by the provided arguments.

Arguments

•Boolean
Default:false

Determines whether to include the customer's name in the formatted address.

•Boolean
Default:true

Determines whether to include the customer's company in the formatted address.


•String

A comma-separated list of the values for city, province, and country.

•ID!

A globally-unique ID.

•String

The last name of the customer.

•String

The full name of the customer, based on firstName and lastName.

•String

The customer's unique phone number.

Formatted using E.164 standard. For example, +16135551111.

•String

The region of the address, such as the province, state, or district.

•CountryCode

The two-letter code for the country of the address.

For example, US.

•String

The zip or postal code of the address.

•String

The alphanumeric code for the region.

For example, ON.

•OBJECT

A unique string representing the address of a Shopify store on the Internet.

•String!
non-null

The host name of the domain (for example, example.com).

•ID!

A globally-unique ID.

•String

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.

•CustomerAddress

The billing address of the customer.

•DateTime!
non-null

The date and time when the draft order was created in Shopify.

•CurrencyCode!
non-null

The three-letter code for the currency of the store at the time that the invoice is sent.

•Customer

The customer who placed the order.

•DraftOrderDiscountInformation!
non-null

The discount information for the draft order.

•String

The email address of the customer, which is used to send notifications to.

•ID!

A globally-unique ID.

•Boolean!
non-null

Whether the draft order is created from the online store and is open.

•URL

The link to the checkout, which is sent to the customer in the invoice email.

•DraftOrderLineItemConnection!
non-null

The list of the line items in the draft order.

•DraftOrderLineItemsSummary

The summary of draft order line items quantity.

•String!

The unique identifier for the draft order, which is unique within the store. For example, #D1223.

•Order

The order that was created from this draft order.

•String

The phone number assigned to the draft order.

•PurchasingEntity

The purchasing entity for the draft order.

•Boolean!
non-null

Whether the draft order requires shipping or not.

•CustomerAddress

The shipping address of the customer.

•DraftOrderStatus!
non-null

The status of the draft order.

•MoneyV2!
non-null

The subtotal of the line items (doesn't include shipping charges, shipping discounts, or taxes).

•Boolean!
non-null

Whether the line item prices include taxes.

•Boolean!
non-null

Indicates whether the draft order is tax exempt.

•MoneyV2!
non-null

The total price of line items for this draft order.

•MoneyV2!
non-null

The total amount of the draft order (includes taxes, shipping charges, and discounts).

•MoneyV2!
non-null

The total shipping charge for the draft order.

•MoneyV2!
non-null

The total amount of taxes for the draft order.

•UnsignedInt64!
non-null

The total weight (in grams) of the draft order.

•DateTime!
non-null

The date and time when the draft order was last changed. The format is YYYY-MM-DD HH:mm:ss (for example, 2016-02-05 17:04:01).

•OBJECT

A line item included in a draft order.

•MoneyV2!
non-null

The total price of the line item after discounts have been applied.

•MoneyV2!
non-null

The discounted total divided by the quantity, resulting in the value of the discount per unit.

•DraftOrderLineItemDiscountInformation!
non-null

The discount information for the draft order line item.

•ID!

A globally-unique ID.

•Image

The image associated with the line item.

•String!
non-null

The name of the product.

•MoneyV2!
non-null

The total price of the line item, based on the original unit price of the variant multiplied by the quantity. This total doesn't include any discounts.

•MoneyV2!
non-null

The price of the variant without any discounts applied.

•Int!
non-null

The quantity of this variant item in the draft order.

•Boolean!
non-null

Whether the variant requires physical shipping.

•String

The SKU number of the variant.

•Boolean!
non-null

Whether the variant is taxable.

•String!
non-null

The title of the product or variant. This only applies to custom line items.

•String

The name of the product variant.

•String

The name of the vendor of the variant.

•Weight

The weight of the line item, including the unit and value.

•OBJECT

A sale that includes a duty charge.

•SaleActionType!
non-null

The type of order action represented by the sale.

•ID!
non-null

The unique ID of the sale.

•SaleLineType!
non-null

The type of line associated with the sale.

•Int

The number of units ordered or intended to be returned.

•[SaleTax!]!
non-null

The individual taxes associated with the sale.

•MoneyV2!
non-null

The total sale amount after taxes and discounts.

Anchor to totalDiscountAmountAfterTaxestotalDiscountAmountAfterTaxes
•MoneyV2!
non-null

The total amount of discounts allocated to the sale after taxes.

Anchor to totalDiscountAmountBeforeTaxestotalDiscountAmountBeforeTaxes
•MoneyV2!
non-null

The total discounts allocated to the sale before taxes.

•MoneyV2!
non-null

The total tax amount for the sale.

•OBJECT

An item for exchange.

•ID!

A globally-unique ID.

•Image

The image associated to the line item's variant.

Anchor to productHasOnlyDefaultVariantproductHasOnlyDefaultVariant
•Boolean

Whether the product has only a single variant with the default option and value.

•ID

The ID of the product at time of refund creation.

•Int!

The number of variant items ordered.

•String

The title of the product at time of order creation.

•ID

The ID of the variant at time of refund creation.

•String

The variant SKU number.

•String

The title of the variant at time of refund creation.

•OBJECT

A sale associated with a fee.

•SaleActionType!
non-null

The type of order action represented by the sale.

•ID!
non-null

The unique ID of the sale.

•SaleLineType!
non-null

The type of line associated with the sale.

•Int

The number of units ordered or intended to be returned.

•[SaleTax!]!
non-null

The individual taxes associated with the sale.

•MoneyV2!
non-null

The total sale amount after taxes and discounts.

Anchor to totalDiscountAmountAfterTaxestotalDiscountAmountAfterTaxes
•MoneyV2!
non-null

The total amount of discounts allocated to the sale after taxes.

Anchor to totalDiscountAmountBeforeTaxestotalDiscountAmountBeforeTaxes
•MoneyV2!
non-null

The total discounts allocated to the sale before taxes.

•MoneyV2!
non-null

The total tax amount for the sale.

•OBJECT

Represents a single fulfillment in an order.

•DateTime!

The date and time when the fulfillment was created.

•DateTime

The estimated delivery time of this fulfillment.

•FulfillmentEventConnection!

A collection of fulfillment events.

Anchor to fulfillmentLineItemsfulfillmentLineItems
•FulfillmentLineItemConnection!

The line items in the fulfillment.

•ID!

A globally-unique ID.

•Boolean!

Whether the fulfillment is picked up locally.

Anchor to latestShipmentStatuslatestShipmentStatus
•FulfillmentEventStatus

The latest shipment status for the fulfillment.

•Boolean!

Whether any line items in the fulfillment require shipping.

•FulfillmentStatus

The status of the fulfillment.

•[TrackingInformation!]!

The tracking information associated with the fulfillment.

•DateTime!
non-null

The date and time when the fulfillment was updated.

•OBJECT

An event that occurred for a fulfillment.

•DateTime!

The time when this fulfillment event occurred.

•ID!

A globally-unique ID.

•FulfillmentEventStatus!

The status of the fulfillment event.

•OBJECT

Represents a line item from an order that's included in a fulfillment.

•ID!

A globally-unique ID.

•LineItem!

The line item associated with the order.

•Int

The number of line items in the fulfillment.

•OBJECT

A sale associated with a gift card.

•SaleActionType!
non-null

The type of order action represented by the sale.

•ID!
non-null

The unique ID of the sale.

•LineItem!
non-null

The line item associated with the sale.

•SaleLineType!
non-null

The type of line associated with the sale.

•Int

The number of units ordered or intended to be returned.

•[SaleTax!]!
non-null

The individual taxes associated with the sale.

•MoneyV2!
non-null

The total sale amount after taxes and discounts.

Anchor to totalDiscountAmountAfterTaxestotalDiscountAmountAfterTaxes
•MoneyV2!
non-null

The total amount of discounts allocated to the sale after taxes.

Anchor to totalDiscountAmountBeforeTaxestotalDiscountAmountBeforeTaxes
•MoneyV2!
non-null

The total discounts allocated to the sale before taxes.

•MoneyV2!
non-null

The total tax amount for the sale.

•OBJECT

A single line item in an order.

•MoneyV2

The total price of the line item, calculated by multiplying the current unit price of the variant by the quantity, expressed in presentment currencies.

•[Attribute!]!

The list of custom attributes associated with the line item.

•[DiscountAllocation!]!

The discounts that have been allocated onto the line item by discount applications.

•Boolean!

Whether the line item represents the purchase of a gift card.

•LineItemGroup

The line item group associated to the line item.

•ID!

A globally-unique ID.

•Image

The image object associated with the line item.

•String!

The name of the product.

•String

The title of the line item variant.

•MoneyV2

The product variant price without any discounts applied, in presentment currencies.

•ID

The product's ID.

•String

The product's type.

•Int!

The number of variant items ordered.

•Int!

The quantity of the line item, minus the refunded quantity.

•Boolean!

Whether physical shipping is required for the variant.

•String

The SKU number of the variant.

•String!

The title of the product or variant. This field only applies to custom line items.

•MoneyV2!

The total of the discount allocations on this line item, resulting from discounts applied specifically to this line item.

•MoneyV2

The total price of the line item, calculated by multiplying the current unit price of the variant by the quantity, expressed in presentment currencies.

•UnitPrice

The unit price of the line item in presentment currencies.

•ID

The ID of the variant.

•[LineItemVariantOption!]

The options of the product variant.

•String

The name of the variant.

•String

The product's vendor.

•OBJECT

A line item group to which a line item belongs to.

•MoneyV2

The total price of the line item group, calculated by aggregating the current total price of its line item components.

•[LineItemDiscountInformation!]

The discount information for the line item group.

•ID!

A globally-unique ID.

•Image

The image of the line item group variant or the product image if the variant has no image.

•Int!

The number of line item groups ordered.

•String!

The title of the line item group.

Anchor to totalPriceBeforeDiscountstotalPriceBeforeDiscounts
•MoneyV2

The total price of the line item group, calculated by aggregating the total price before discounts of its line item components.

•OBJECT

A market, which is a group of one or more regions targeted for international sales. A market allows configuration of a distinct, localized shopping experience for customers from a specific area of the world.

•String!

The short, human-readable unique identifier for the market.

•ID!

A globally-unique ID.

•MarketWebPresence

The web presence of the market, defining its SEO strategy. This can be a different domain, subdomain, or subfolders of the primary domain. Each web presence comprises one or more language variants. If a market doesn't have its own web presence, an inherited web presence will be returned.

•OBJECT

The web presence of the market, defining its SEO strategy. This can be a different domain (e.g. example.ca), subdomain (e.g. ca.example.com), or subfolders of the primary domain (e.g. example.com/en-ca). Each web presence comprises one or more language variants. If a market does not have its own web presence, it is accessible on the shop’s primary domain via country selectors.

Note: while the domain/subfolders defined by a market’s web presence are not applicable to custom storefronts, which must manage their own domains and routing, the languages chosen here do govern the languages available on the Storefront API for the countries in this market.

•Domain

The domain of the web presence. This field will be null if subfolderSuffix isn't null.

•ID!

A globally-unique identifier.

•[MarketWebPresenceRootUrl!]!

The list of root URLs for each of the web presence’s locales.

•String

The market-specific suffix of the subfolders defined by the web presence. Example: in /en-us the subfolder suffix is us. This field will be null if domain isn't null.

•OBJECT

The custom metadata attached to a resource. Metafields can be sorted into namespaces and are comprised of keys, values, and value types.

•String!
non-null

The data stored in the resource, represented as a digest.

•DateTime!
non-null

The date and time when the metafield was created.

•ID!

A globally-unique ID.

•JSON!
non-null

The data stored in the metafield in JSON format.

•String!

The key name for a metafield.

•String!

The namespace for a metafield.

•String!

The type name of the metafield. See the list of supported types.

•DateTime!
non-null

The date and time when the metafield was updated.

•String!

The value of a metafield.

•String
Deprecated
•OBJECT

A customer’s completed request to purchase one or more products from a shop. Apps using the Customer Account API must meet the protected customer data requirements.

•SalesAgreementConnection!

A list of sales agreements associated with the order.

•CustomerAddress

The mailing address provided by the customer. Not all orders have a mailing address.

•DateTime

The date and time when the order was canceled. Returns null if the order wasn't canceled.

•OrderCancelReason

The reason for the cancellation of the order. Returns null if the order wasn't canceled.

•String

A randomly generated alpha-numeric identifier for the order that may be shown to the customer instead of the sequential order name. For example, "XPAV284CT", "R50KELTJP" or "35PKUN0UJ". This value isn't guaranteed to be unique.

•DateTime!

The date and time when the order was created.

•CurrencyCode!

The shop currency when the order was placed.

•Customer

The customer who placed the order.

•String

The locale code representing the region where this specific order was placed.

Anchor to discountApplicationsdiscountApplications
•DiscountApplicationConnection!

The discounts that have been applied to the order.

•DraftOrder

The draft order associated with the order.

•Boolean!

Whether the order has been edited or not.

•String

The email address of the customer.

•OrderFinancialStatus

The financial status of the order.

•FulfillmentConnection!

The fulfillments associated with the order.

•OrderFulfillmentStatus!

The fulfillment status of the order.

•ID!

A globally-unique ID.

•LineItemConnection!

The list of line items of the order.

•String

The name of the fulfillment location assigned at the time of order creation.

•Metafield

A metafield found by namespace and key.

•[Metafield]!

The metafields associated with the resource matching the supplied list of namespaces and keys.

•String!

The identifier for the order that appears on the order. For example, #1000 or _Store1001.

•String

The order's notes.

•Int!

A unique numeric identifier for the order, used by both the shop owner and customer.

•OrderPaymentInformation

The payment information for the order.

•String

The phone number of the customer for SMS notifications.

•String

The purchase order number of the order.

•DateTime!

The date and time when the order was processed. This value can be set to dates in the past when importing from other systems. If no value is provided, it will be auto-generated based on current date and time.

•PurchasingEntity

The purchasing entity for the order.

•[Refund!]!

A list of refunds associated with the order.

•Boolean!

Whether the order requires shipping.

•OrderReturnInformation!

The return information for the order.

•ReturnConnection!

The list of returns for the order with pagination.

•CustomerAddress

The mailing address to which the order items are shipped.

Anchor to shippingDiscountAllocationsshippingDiscountAllocations
•[DiscountAllocation!]!

The discounts that have been allocated onto the shipping line by discount applications.

•ShippingLine

A summary of all shipping costs on the order.

•URL!

The unique URL for the status page of the order.

Anchor to subscriptionContractssubscriptionContracts
•SubscriptionContractConnection

The customer Subscription Contracts associated with the order.

•MoneyV2

The price of the order before duties, shipping, and taxes.

•MoneyV2

The total amount of duties after returns.

•MoneyV2!

The total amount of the order (including taxes and discounts) minus the amounts for line items that have been returned.

•MoneyV2!

The total amount refunded.

•MoneyV2!

The total cost of shipping.

•MoneyV2

The total cost of taxes.

•MoneyV2

The total value of tips.

•[OrderTransaction!]!

A list of transactions associated with the order.

•DateTime!
non-null

The date and time when the order was last updated.

•OBJECT

An agreement associated with an order placement.

•DateTime!
non-null

The date and time when the agreement occurred.

•ID!
non-null

The unique ID for the agreement.

•Order!
non-null

The order associated with the agreement.

•OrderActionType!
non-null

The reason the agreement was created.

•SaleConnection!
non-null

The sales associated with the agreement.

•OBJECT

An agreement related to an edit of the order.

•DateTime!
non-null

The date and time when the agreement occurred.

•ID!
non-null

The unique ID for the agreement.

•OrderActionType!
non-null

The reason the agreement was created.

•SaleConnection!
non-null

The sales associated with the agreement.

•OBJECT

A payment transaction within an order context.

•DateTime!

The date and time when the transaction was created.

•GiftCardDetails

The gift card details for the transaction.

•ID!

A globally-unique ID.

•OrderTransactionKind

The kind of the transaction.

•Order

The associated order for the transaction.

•PaymentDetails

The payment details for the transaction.

•PaymentIconImage

The payment icon to display for the transaction.

•DateTime

The date and time when the transaction was processed.

•OrderTransactionStatus

The status of the transaction.

•MoneyBag!

The amount and currency of the transaction in shop and presentment currencies.

•String

The ID of the parent transaction.

•OrderTransactionType!

The type of the transaction.

•TransactionTypeDetails

The details of the transaction type.

•OBJECT

Represents an image resource.

•String

A word or phrase to share the nature or contents of an image.

•Int

The original height of the image in pixels. Returns null if the image isn't hosted by Shopify.

•ID!

A unique non-nullable ID for the image.

•String

The ThumbHash of the image.

Useful to display placeholder images while the original image is loading.

•URL!

The location of the image as a URL.

If no transform options are specified, then the original image will be preserved including any pre-applied transforms.

All transformation options are considered "best-effort". Any transformation that the original image type doesn't support will be ignored.

If you need multiple variations of the same image, then you can use GraphQL aliases.

Arguments

•ImageTransformInput

A set of options to transform the original image.


•Int

The original width of the image in pixels. Returns null if the image isn't hosted by Shopify.

•URL!
non-nullDeprecatedPre-auth accessible
•URL!
non-nullDeprecatedPre-auth accessible
•URL!
non-nullDeprecatedPre-auth accessible

Arguments

•Int

Image width in pixels between 1 and 5760.

•Int

Image height in pixels between 1 and 5760.

•CropRegion

Crops the image according to the specified region.

•Int
Default:1

Image size multiplier for high-resolution retina displays. Must be between 1 and 3.

Anchor to preferredContentTypepreferredContentType
•ImageContentType

Best effort conversion of image into content type (SVG -> PNG, Anything -> JPG, Anything -> WEBP are supported).


•OBJECT

A single payment schedule defined in the payment terms.

•Boolean!

Whether the payment has been completed.

•DateTime

The date and time when the payment schedule was paid or fulfilled.

•DateTime

The date and time when the payment schedule is due.

•ID!

A globally-unique ID.

•MoneyV2!
non-nullDeprecatedPre-auth accessible
•OBJECT

The payment terms associated with an order or draft order.

•ID!

A globally-unique ID.

•DateTime

The next due date if this is the NET or FIXED type of payment terms.

•Boolean!

Whether the payment terms have overdue payment schedules.

•PaymentScheduleConnection!

The list of schedules associated with the payment terms.

•String!
non-null

The name of the payment terms template that was used to create the payment terms.

•OBJECT

A sale associated with a product.

•SaleActionType!
non-null

The type of order action represented by the sale.

•ID!
non-null

The unique ID of the sale.

•LineItem!
non-null

The line item for the associated sale.

•SaleLineType!
non-null

The type of line associated with the sale.

•Int

The number of units ordered or intended to be returned.

•[SaleTax!]!
non-null

The individual taxes associated with the sale.

•MoneyV2!
non-null

The total sale amount after taxes and discounts.

Anchor to totalDiscountAmountAfterTaxestotalDiscountAmountAfterTaxes
•MoneyV2!
non-null

The total amount of discounts allocated to the sale after taxes.

Anchor to totalDiscountAmountBeforeTaxestotalDiscountAmountBeforeTaxes
•MoneyV2!
non-null

The total discounts allocated to the sale before taxes.

•MoneyV2!
non-null

The total tax amount for the sale.

•OBJECT

The record of refunds issued to a customer.

•DateTime

The date and time when the refund was created.

•ID!

A globally-unique ID.

•String

The name of the return, if the refund was issued from a return.

•MoneyV2!

The total amount refunded across all transactions, in presentment currencies.

•DateTime!

The date and time when the refund was last updated.

•OBJECT

An agreement for refunding all or a portion of the order between the merchant and the customer.

•DateTime!
non-null

The date and time when the agreement occurred.

•ID!
non-null

The unique ID for the agreement.

•OrderActionType!
non-null

The reason the agreement was created.

•Refund!
non-null

The refund that's associated with the agreement.

•SaleConnection!
non-null

The sales associated with the agreement.

•OBJECT

A product return.

•DateTime

The date when the return was closed.

•DateTime

The date when the return was created.

•ExchangeLineItemConnection!

The exchange line items attached to the return.

•ID!

A globally-unique ID.

•String!

The name assigned to the return.

•ReturnLineItemTypeConnection!

The line items associated with the return.

Anchor to returnLineItemsCountreturnLineItemsCount
•Count

The number of line items associated with the return.

•ReverseDeliveryConnection!

The list of reverse deliveries associated with the return.

•ReturnStatus!

The current status of the Return.

•DateTime

The date when the return was last updated.

•OBJECT

An agreement between the merchant and customer for a return.

•DateTime!
non-null

The date and time when the agreement occurred.

•ID!
non-null

The unique ID for the agreement.

•OrderActionType!
non-null

The reason the agreement was created.

•Return!
non-null

The return associated with the agreement.

•SaleConnection!
non-null

The sales associated with the agreement.

•OBJECT

A line item that has been returned.

•ID!

A globally-unique ID.

•LineItem!

The related line item that has been returned.

•Int!

The line item quantity that has been returned.

•ReturnReason!
non-null

The reason the line item quantity was returned.

•OBJECT

A reverse delivery represents a package being sent back by a buyer to a merchant post-fulfillment. This could occur when a buyer requests a return and the merchant provides a shipping label. The reverse delivery includes the context of the items being returned, the method of return (for example, a shipping label), and the current status of the delivery (tracking information).

Anchor to customerGeneratedLabelcustomerGeneratedLabel
•Boolean!
non-null

Whether the label was generated by the customer.

•ReverseDeliveryDeliverable

The deliverable linked with the reverse delivery.

•ID!

A globally-unique ID.

•OBJECT

The tax allocated to a sale from a single tax line.

•MoneyV2!
non-null

The portion of the total tax amount on the related sale that's from the associated tax line.

•ID!
non-null

The unique ID for the sale tax.

•TaxLine!
non-null

The tax line associated with the sale.

•OBJECT

A sale associated with a shipping charge.

•SaleActionType!
non-null

The type of order action represented by the sale.

•ID!
non-null

The unique ID of the sale.

•SaleLineType!
non-null

The type of line associated with the sale.

•Int

The number of units ordered or intended to be returned.

•[SaleTax!]!
non-null

The individual taxes associated with the sale.

•MoneyV2!
non-null

The total sale amount after taxes and discounts.

Anchor to totalDiscountAmountAfterTaxestotalDiscountAmountAfterTaxes
•MoneyV2!
non-null

The total amount of discounts allocated to the sale after taxes.

Anchor to totalDiscountAmountBeforeTaxestotalDiscountAmountBeforeTaxes
•MoneyV2!
non-null

The total discounts allocated to the sale before taxes.

•MoneyV2!
non-null

The total tax amount for the sale.

•OBJECT

A collection of the general information about the shop.

•String!
non-null

The email of the shop.

•ID!

A globally-unique ID.

•Metafield

A metafield found by namespace and key.

•[Metafield]!

The metafields associated with the resource matching the supplied list of namespaces and keys.

•String!
non-null

The shop's .myshopify.com domain name.

•String!
non-null

The name of the shop.

•[ShopPolicy!]!
non-null

The list of all legal policies associated with the shop.

•URL!
non-null

The URL of the shop's online store.

•OBJECT

A policy that a merchant has configured for their store, such as their refund or privacy policy.

•HTML!
non-null

The text of the policy. The maximum size is 512kb.

•String!
non-null

The handle of the policy.

•ID!

A globally-unique ID.

•String!
non-null

The title of the policy.

•URL!
non-null

The public URL to the policy.

•OBJECT

A store credit account contains a monetary balance that can be redeemed at checkout for purchases in the shop. The account is held in the specified currency and has an owner that cannot be transferred.

The account balance is redeemable at checkout only when the owner is authenticated via new customer accounts authentication.

•MoneyV2!

The current balance of the store credit account.

•ID!

A globally-unique ID.

•StoreCreditAccountTransactionConnection!

The transaction history of the store credit account.

•OBJECT

A credit transaction which increases the store credit account balance.

•StoreCreditAccount!
non-null

The store credit account that the transaction belongs to.

•MoneyV2!
non-null

The amount of the transaction.

Anchor to balanceAfterTransactionbalanceAfterTransaction
•MoneyV2!
non-null

The balance of the account after the transaction.

•DateTime!
non-null

The date and time when the transaction was created.

•StoreCreditSystemEvent!
non-null

The event that caused the store credit account transaction.

•DateTime

The time at which the transaction expires. Debit transactions will always spend the soonest expiring credit first.

•ID!

A globally-unique ID.

•StoreCreditAccountTransactionOrigin

The origin of the store credit account transaction.

•MoneyV2!
non-null

The remaining amount of the credit. The remaining amount will decrease when a debit spends this credit. It may also increase if that debit is subsequently reverted. In the event that the credit expires, the remaining amount will represent the amount that remained as the expiry ocurred.

•OBJECT

A debit revert transaction which increases the store credit account balance. Debit revert transactions are created automatically when a store credit account debit transaction is reverted.

Store credit account debit transactions are reverted when an order is cancelled, refunded or in the event of a payment failure at checkout. The amount added to the balance is equal to the amount reverted on the original credit.

•StoreCreditAccount!
non-null

The store credit account that the transaction belongs to.

•MoneyV2!
non-null

The amount of the transaction.

Anchor to balanceAfterTransactionbalanceAfterTransaction
•MoneyV2!
non-null

The balance of the account after the transaction.

•DateTime!
non-null

The date and time when the transaction was created.

•StoreCreditAccountDebitTransaction!
non-null

The reverted debit transaction.

•StoreCreditSystemEvent!
non-null

The event that caused the store credit account transaction.

•ID!

A globally-unique ID.

•StoreCreditAccountTransactionOrigin

The origin of the store credit account transaction.

•OBJECT

A debit transaction which decreases the store credit account balance.

•StoreCreditAccount!
non-null

The store credit account that the transaction belongs to.

•MoneyV2!
non-null

The amount of the transaction.

Anchor to balanceAfterTransactionbalanceAfterTransaction
•MoneyV2!
non-null

The balance of the account after the transaction.

•DateTime!
non-null

The date and time when the transaction was created.

•StoreCreditSystemEvent!
non-null

The event that caused the store credit account transaction.

•ID!

A globally-unique ID.

•StoreCreditAccountTransactionOrigin

The origin of the store credit account transaction.

•OBJECT

A Subscription Contract.

•SubscriptionBillingPolicy!
non-null

The billing policy associated with the subscription contract.

•DateTime!
non-null

The date and time when the subscription contract was created.

•CurrencyCode!
non-null

The currency used for the subscription contract.

•[Attribute!]!
non-null

A list of custom attributes to be added to the generated orders.

•SubscriptionDeliveryMethod

The delivery method for each billing of the subscription contract.

•SubscriptionDeliveryPolicy!
non-null

The delivery policy associated with the subscription contract.

•MoneyV2!
non-null

The delivery price for each billing of the subscription contract.

•SubscriptionDiscountConnection

The list of subscription discounts associated with the subscription contract.

•ID!

A globally-unique ID.

Anchor to lastBillingAttemptErrorTypelastBillingAttemptErrorType
•SubscriptionContractLastBillingErrorType

The last billing error type of the contract.

•SubscriptionContractLastPaymentStatus

The current status of the last payment.

•SubscriptionLineConnection!
non-null

A list of subscription lines associated with the subscription contract.

•Count

The number of lines associated with the subscription contract.

•DateTime

The next billing date for the subscription contract.

•String

A note that will be applied to the generated orders.

•OrderConnection!
non-null

A list of the subscription contract's orders.

•Order

The order from which the contract originated.

•UnsignedInt64!
non-null

The revision ID of the contract.

•SubscriptionContractSubscriptionStatus!
non-null

The current status of the subscription contract.

Anchor to upcomingBillingCyclesupcomingBillingCycles
•SubscriptionBillingCycleConnection!
non-null

The upcoming billing cycles on the subscription contract.

•DateTime!
non-null

The date and time when the subscription contract was updated.

•OBJECT

The details about a single tax applied to the associated line item.

•Boolean!
non-null

Whether the channel that submitted the tax line is responsible for remitting it.

•ID!

A globally-unique ID.

•MoneyV2!
non-null

The tax amount in shop and presentment currencies, calculated after discounts and before returns.

•Float

The proportion of the line item price represented by the tax, expressed as a decimal.

•Float

The proportion of the line item price represented by the tax, expressed as a percentage.

•String

The origin of the tax.

•String!
non-null

The name of the applied tax.

•OBJECT

A sale that is associated with a tip.

•SaleActionType!
non-null

The type of order action represented by the sale.

•ID!
non-null

The unique ID of the sale.

•LineItem!
non-null

The line item associated with the sale.

•SaleLineType!
non-null

The type of line associated with the sale.

•Int

The number of units ordered or intended to be returned.

•[SaleTax!]!
non-null

The individual taxes associated with the sale.

•MoneyV2!
non-null

The total sale amount after taxes and discounts.

Anchor to totalDiscountAmountAfterTaxestotalDiscountAmountAfterTaxes
•MoneyV2!
non-null

The total amount of discounts allocated to the sale after taxes.

Anchor to totalDiscountAmountBeforeTaxestotalDiscountAmountBeforeTaxes
•MoneyV2!
non-null

The total discounts allocated to the sale before taxes.

•MoneyV2!
non-null

The total tax amount for the sale.

•OBJECT

This represents new sale types that have been added in future API versions. You may update to a more recent API version to receive additional details about this sale.

•SaleActionType!
non-null

The type of order action represented by the sale.

•ID!
non-null

The unique ID of the sale.

•SaleLineType!
non-null

The line type assocated with the sale.

•Int

The number of units ordered or intended to be returned.

•[SaleTax!]!
non-null

The individual taxes associated with the sale.

•MoneyV2!
non-null

The total sale amount after taxes and discounts.

Anchor to totalDiscountAmountAfterTaxestotalDiscountAmountAfterTaxes
•MoneyV2!
non-null

The total amount of discounts allocated to the sale after taxes.

Anchor to totalDiscountAmountBeforeTaxestotalDiscountAmountBeforeTaxes
•MoneyV2!
non-null

The total discounts allocated to the sale before taxes.

•MoneyV2!
non-null

The total tax amount for the sale.

•OBJECT

An unverified return line item.

•ID!

A globally-unique ID.

•LineItem!

The specific line item that's being returned.

•Int!

The quantity of the line item that's been returned.

•ReturnReason!
non-null

The reason for returning the line item.


Was this section helpful?