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 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 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•Draft
Items Summary Order Line Items Summary The summary of draft order line items quantity.
- Anchor to namename•String!non-nullPre-auth accessible
The unique identifier for the draft order, which is unique within the store. For example, #D1223.
- Anchor to orderorder•Order
The order that was created from this draft order.
- Anchor to phonephone•String
The phone number assigned to the draft order.
- Anchor to purchasingEntitypurchasing•Purchasing
Entity Entity The purchasing entity for the draft order.
- Anchor to requiresShippingrequires•Boolean!
Shipping non-null Whether the draft order requires shipping or not.
- Anchor to shippingAddressshipping•Customer
Address Address The shipping address of the customer.
- Anchor to statusstatus•Draft
Order Status! non-null The status of the draft order.
- Anchor to subtotalPricesubtotal•Money
Price V2! non-null The subtotal of the line items (doesn't include shipping charges, shipping discounts, or taxes).
- Anchor to taxesIncludedtaxes•Boolean!
Included non-null Whether the line item prices include taxes.
- Anchor to taxExempttax•Boolean!
Exempt non-null Indicates whether the draft order is tax exempt.
- Anchor to totalLineItemsPricetotal•Money
Line Items Price V2! non-null The total price of line items for this draft order.
- Anchor to totalPricetotal•Money
Price V2! non-null The total amount of the draft order (includes taxes, shipping charges, and discounts).
- Anchor to totalShippingPricetotal•Money
Shipping Price V2! non-null The total shipping charge for the draft order.
- Anchor to totalTaxtotal•Money
Tax V2! non-null The total amount of taxes for the draft order.
- Anchor to totalWeighttotal•Unsigned
Weight Int64! non-null The total weight (in grams) of the draft order.
- Anchor to updatedAtupdated•Date
At Time! 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.
- Anchor to discountedTotaldiscounted•Money
Total V2! non-null The total price of the line item after discounts have been applied.
- Anchor to discountedUnitPricediscounted•Money
Unit Price V2! non-null The discounted total divided by the quantity, resulting in the value of the discount per unit.
- Anchor to discountInformationdiscount•Draft
Information Order Line Item Discount Information! non-null The discount information for the draft order line item.
- •ID!non-nullPre-auth accessible
A globally-unique ID.
- Anchor to imageimage•Image
The image associated with the line item.
- Anchor to namename•String!non-null
The name of the product.
- Anchor to originalTotaloriginal•Money
Total V2! 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.
- Anchor to originalUnitPriceoriginal•Money
Unit Price V2! non-null The price of the variant without any discounts applied.
- Anchor to quantityquantity•Int!non-null
The quantity of this variant item in the draft order.
- Anchor to requiresShippingrequires•Boolean!
Shipping non-null Whether the variant requires physical shipping.
- •String
The SKU number of the variant.
- Anchor to taxabletaxable•Boolean!non-null
Whether the variant is taxable.
- Anchor to titletitle•String!non-null
The title of the product or variant. This only applies to custom line items.
- Anchor to variantTitlevariant•String
Title The name of the product variant.
- Anchor to vendorvendor•String
The name of the vendor of the variant.
- Anchor to weightweight•Weight
The weight of the line item, including the unit and value.
- •OBJECT
A sale that includes a duty 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
An item for exchange.
- •ID!non-nullPre-auth accessible
A globally-unique ID.
- Anchor to imageimage•Image
The image associated to the line item's variant.
- Anchor to productHasOnlyDefaultVariantproduct•Boolean
Has Only Default Variant Whether the product has only a single variant with the default option and value.
- Anchor to productIdproduct•ID
Id The ID of the product at time of refund creation.
- Anchor to quantityquantity•Int!non-nullPre-auth accessible
The number of variant items ordered.
- Anchor to titletitle•String
The title of the product at time of order creation.
- Anchor to variantIdvariant•ID
Id The ID of the variant at time of refund creation.
- Anchor to variantSkuvariant•String
Sku The variant SKU number.
- Anchor to variantTitlevariant•String
Title The title of the variant at time of refund creation.
- •ID!
- •OBJECT
A sale associated with a fee.
- 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
Represents a single fulfillment in an order.
- Anchor to createdAtcreated•Date
At Time! non-nullPre-auth accessible The date and time when the fulfillment was created.
- Anchor to estimatedDeliveryAtestimated•Date
Delivery At Time The estimated delivery time of this fulfillment.
- Anchor to eventsevents•Fulfillment
Event Connection! non-nullPre-auth accessible A collection of fulfillment events.
- Anchor to fulfillmentLineItemsfulfillment•Fulfillment
Line Items Line Item Connection! non-nullPre-auth accessible The line items in the fulfillment.
- •ID!non-nullPre-auth accessible
A globally-unique ID.
- Anchor to isPickedUpis•Boolean!
Picked Up non-nullPre-auth accessible Whether the fulfillment is picked up locally.
- Anchor to latestShipmentStatuslatest•Fulfillment
Shipment Status Event Status The latest shipment status for the fulfillment.
- Anchor to requiresShippingrequires•Boolean!
Shipping non-nullPre-auth accessible Whether any line items in the fulfillment require shipping.
- Anchor to statusstatus•Fulfillment
Status The status of the fulfillment.
- Anchor to trackingInformationtracking•[Tracking
Information Information!]! non-nullPre-auth accessible The tracking information associated with the fulfillment.
- Anchor to updatedAtupdated•Date
At Time! non-null The date and time when the fulfillment was updated.
- •OBJECT
An event that occurred for a fulfillment.
- Anchor to happenedAthappened•Date
At Time! non-nullPre-auth accessible The time when this fulfillment event occurred.
- •ID!non-nullPre-auth accessible
A globally-unique ID.
- Anchor to statusstatus•Fulfillment
Event Status! non-nullPre-auth accessible The status of the fulfillment event.
- •OBJECT
Represents a line item from an order that's included in a fulfillment.
- •ID!non-nullPre-auth accessible
A globally-unique ID.
- Anchor to lineItemline•Line
Item Item! non-nullPre-auth accessible The line item associated with the order.
- Anchor to quantityquantity•Int
The number of line items in the fulfillment.
- •ID!
- •OBJECT
A sale associated with a gift card.
- 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 lineItemline•Line
Item Item! non-null The line item associated with 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 single line item in an order.
- Anchor to currentTotalPricecurrent•Money
Total Price V2 The total price of the line item, calculated by multiplying the current unit price of the variant by the quantity, expressed in presentment currencies.
- Anchor to customAttributescustom•[Attribute!]!
Attributes non-nullPre-auth accessible The list of custom attributes associated with the line item.
- Anchor to discountAllocationsdiscount•[Discount
Allocations Allocation!]! non-nullPre-auth accessible The discounts that have been allocated onto the line item by discount applications.
- Anchor to giftCardgift•Boolean!
Card non-nullPre-auth accessible Whether the line item represents the purchase of a gift card.
- Anchor to groupgroup•Line
Item Group The line item group associated to the line item.
- •ID!non-nullPre-auth accessible
A globally-unique ID.
- Anchor to imageimage•Image
The image object associated with the line item.
- Anchor to namename•String!non-nullPre-auth accessible
The name of the product.
- Anchor to presentmentTitlepresentment•String
Title The title of the line item variant.
- Anchor to priceprice•Money
V2 The product variant price without any discounts applied, in presentment currencies.
- Anchor to productIdproduct•ID
Id The product's ID.
- Anchor to productTypeproduct•String
Type The product's type.
- Anchor to quantityquantity•Int!non-nullPre-auth accessible
The number of variant items ordered.
- Anchor to refundableQuantityrefundable•Int!
Quantity non-nullPre-auth accessible The quantity of the line item, minus the refunded quantity.
- Anchor to requiresShippingrequires•Boolean!
Shipping non-nullPre-auth accessible Whether physical shipping is required for the variant.
- •String
The SKU number of the variant.
- Anchor to titletitle•String!non-nullPre-auth accessible
The title of the product or variant. This field only applies to custom line items.
- Anchor to totalDiscounttotal•Money
Discount V2! non-nullPre-auth accessible The total of the discount allocations on this line item, resulting from discounts applied specifically to this line item.
- Anchor to totalPricetotal•Money
Price V2 The total price of the line item, calculated by multiplying the current unit price of the variant by the quantity, expressed in presentment currencies.
- Anchor to unitPriceunit•Unit
Price Price The unit price of the line item in presentment currencies.
- Anchor to variantIdvariant•ID
Id The ID of the variant.
- Anchor to variantOptionsvariant•[Line
Options Item Variant Option!] The options of the product variant.
- Anchor to variantTitlevariant•String
Title The name of the variant.
- Anchor to vendorvendor•String
The product's vendor.
- •OBJECT
A line item group to which a line item belongs to.
- Anchor to currentTotalPricecurrent•Money
Total Price V2 The total price of the line item group, calculated by aggregating the current total price of its line item components.
- Anchor to discountInformationdiscount•[Line
Information Item Discount Information!] The discount information for the line item group.
- •ID!non-nullPre-auth accessible
A globally-unique ID.
- Anchor to imageimage•Image
The image of the line item group variant or the product image if the variant has no image.
- Anchor to quantityquantity•Int!non-nullPre-auth accessible
The number of line item groups ordered.
- Anchor to titletitle•String!non-nullPre-auth accessible
The title of the line item group.
- Anchor to totalPriceBeforeDiscountstotal•Money
Price Before Discounts V2 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.
- Anchor to handlehandle•String!non-nullPre-auth accessible
The short, human-readable unique identifier for the market.
- •ID!non-nullPre-auth accessible
A globally-unique ID.
- Anchor to webPresenceweb•Market
Presence Web Presence 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.). 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.
- Anchor to domaindomain•Domain
The domain of the web presence. This field will be null if
isn't null.
- •ID!non-nullPre-auth accessible
A globally-unique identifier.
- Anchor to rootUrlsroot•[Market
Urls Web Presence Root Url!]! non-nullPre-auth accessible The list of root URLs for each of the web presence’s locales.
- Anchor to subfolderSuffixsubfolder•String
Suffix The market-specific suffix of the subfolders defined by the web presence. Example: in
/en-us
the subfolder suffix isus
. This field will be null ifdomain
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.
- Anchor to compareDigestcompare•String!
Digest non-null The data stored in the resource, represented as a digest.
- Anchor to createdAtcreated•Date
At Time! non-null The date and time when the metafield was created.
- •ID!non-nullPre-auth accessible
A globally-unique ID.
- Anchor to jsonValuejson•JSON!
Value non-null The data stored in the metafield in JSON format.
- •String!non-nullPre-auth accessible
The key name for a metafield.
- Anchor to namespacenamespace•String!non-nullPre-auth accessible
The namespace for a metafield.
- Anchor to typetype•String!non-nullPre-auth accessible
The type name of the metafield. See the list of supported types.
- Anchor to updatedAtupdated•Date
At Time! non-null The date and time when the metafield was updated.
- Anchor to valuevalue•String!non-nullPre-auth accessible
The value of a metafield.
- Anchor to descriptiondescription•StringDeprecated
- •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.
- Anchor to agreementsagreements•Sales
Agreement Connection! non-nullPre-auth accessible A list of sales agreements associated with the order.
- Anchor to billingAddressbilling•Customer
Address Address The mailing address provided by the customer. Not all orders have a mailing address.
- Anchor to cancelledAtcancelled•Date
At Time The date and time when the order was canceled. Returns
null
if the order wasn't canceled.- Anchor to cancelReasoncancel•Order
Reason Cancel Reason The reason for the cancellation of the order. Returns
null
if the order wasn't canceled.- Anchor to confirmationNumberconfirmation•String
Number 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.
- Anchor to createdAtcreated•Date
At Time! non-nullPre-auth accessible The date and time when the order was created.
- Anchor to currencyCodecurrency•Currency
Code Code! non-nullPre-auth accessible The shop currency when the order was placed.
- Anchor to customercustomer•Customer
The customer who placed the order.
- Anchor to customerLocalecustomer•String
Locale The locale code representing the region where this specific order was placed.
- Anchor to discountApplicationsdiscount•Discount
Applications Application Connection! non-nullPre-auth accessible The discounts that have been applied to the order.
- Anchor to draftOrderdraft•Draft
Order Order The draft order associated with the order.
- Anchor to editededited•Boolean!non-nullPre-auth accessible
Whether the order has been edited or not.
- Anchor to emailemail•String
The email address of the customer.
- Anchor to financialStatusfinancial•Order
Status Financial Status The financial status of the order.
- Anchor to fulfillmentsfulfillments•Fulfillment
Connection! non-nullPre-auth accessible The fulfillments associated with the order.
- Anchor to fulfillmentStatusfulfillment•Order
Status Fulfillment Status! non-nullPre-auth accessible The fulfillment status of the order.
- •ID!non-nullPre-auth accessible
A globally-unique ID.
- Anchor to lineItemsline•Line
Items Item Connection! non-nullPre-auth accessible The list of line items of the order.
- Anchor to locationNamelocation•String
Name The name of the fulfillment location assigned at the time of order creation.
- 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 identifier for the order that appears on the order. For example, #1000 or _Store1001.
- Anchor to notenote•String
The order's notes.
- Anchor to numbernumber•Int!non-nullPre-auth accessible
A unique numeric identifier for the order, used by both the shop owner and customer.
- Anchor to paymentInformationpayment•Order
Information Payment Information The payment information for the order.
- Anchor to phonephone•String
The phone number of the customer for SMS notifications.
- Anchor to poNumberpo•String
Number The purchase order number of the order.
- Anchor to processedAtprocessed•Date
At Time! non-nullPre-auth accessible 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.
- Anchor to purchasingEntitypurchasing•Purchasing
Entity Entity The purchasing entity for the order.
- Anchor to refundsrefunds•[Refund!]!non-nullPre-auth accessible
A list of refunds associated with the order.
- Anchor to requiresShippingrequires•Boolean!
Shipping non-nullPre-auth accessible Whether the order requires shipping.
- Anchor to returnInformationreturn•Order
Information Return Information! non-nullPre-auth accessible The return information for the order.
- Anchor to returnsreturns•Return
Connection! non-nullPre-auth accessible The list of returns for the order with pagination.
- Anchor to shippingAddressshipping•Customer
Address Address The mailing address to which the order items are shipped.
- Anchor to shippingDiscountAllocationsshipping•[Discount
Discount Allocations Allocation!]! non-nullPre-auth accessible The discounts that have been allocated onto the shipping line by discount applications.
- Anchor to shippingLineshipping•Shipping
Line Line A summary of all shipping costs on the order.
- Anchor to statusPageUrlstatus•URL!
Page Url non-nullPre-auth accessible The unique URL for the status page of the order.
- Anchor to subscriptionContractssubscription•Subscription
Contracts Contract Connection The customer Subscription Contracts associated with the order.
- Anchor to subtotalsubtotal•Money
V2 The price of the order before duties, shipping, and taxes.
- Anchor to totalDutiestotal•Money
Duties V2 The total amount of duties after returns.
- Anchor to totalPricetotal•Money
Price V2! non-nullPre-auth accessible The total amount of the order (including taxes and discounts) minus the amounts for line items that have been returned.
- Anchor to totalRefundedtotal•Money
Refunded V2! non-nullPre-auth accessible The total amount refunded.
- Anchor to totalShippingtotal•Money
Shipping V2! non-nullPre-auth accessible The total cost of shipping.
- Anchor to totalTaxtotal•Money
Tax V2 The total cost of taxes.
- Anchor to totalTiptotal•Money
Tip V2 The total value of tips.
- Anchor to transactionstransactions•[Order
Transaction!]! non-nullPre-auth accessible A list of transactions associated with the order.
- Anchor to updatedAtupdated•Date
At Time! non-null The date and time when the order was last updated.
- •OBJECT
An agreement associated with an order placement.
- Anchor to happenedAthappened•Date
At Time! non-null The date and time when the agreement occurred.
- •ID!non-null
The unique ID for the agreement.
- Anchor to orderorder•Order!non-null
The order associated with the agreement.
- Anchor to reasonreason•Order
Action Type! non-null The reason the agreement was created.
- Anchor to salessales•Sale
Connection! non-null The sales associated with the agreement.
- •OBJECT
An agreement related to an edit of the order.
- Anchor to happenedAthappened•Date
At Time! non-null The date and time when the agreement occurred.
- •ID!non-null
The unique ID for the agreement.
- Anchor to reasonreason•Order
Action Type! non-null The reason the agreement was created.
- Anchor to salessales•Sale
Connection! non-null The sales associated with the agreement.
- •OBJECT
A payment transaction within an order context.
- Anchor to createdAtcreated•Date
At Time! non-nullPre-auth accessible The date and time when the transaction was created.
- Anchor to giftCardDetailsgift•Gift
Card Details Card Details The gift card details for the transaction.
- •ID!non-nullPre-auth accessible
A globally-unique ID.
- Anchor to kindkind•Order
Transaction Kind The kind of the transaction.
- Anchor to orderorder•Order
The associated order for the transaction.
- Anchor to paymentDetailspayment•Payment
Details Details The payment details for the transaction.
- Anchor to paymentIconpayment•Payment
Icon Icon Image The payment icon to display for the transaction.
- Anchor to processedAtprocessed•Date
At Time The date and time when the transaction was processed.
- Anchor to statusstatus•Order
Transaction Status The status of the transaction.
- Anchor to transactionAmounttransaction•Money
Amount Bag! non-nullPre-auth accessible The amount and currency of the transaction in shop and presentment currencies.
- Anchor to transactionParentIdtransaction•String
Parent Id The ID of the parent transaction.
- Anchor to typetype•Order
Transaction Type! non-nullPre-auth accessible The type of the transaction.
- Anchor to typeDetailstype•Transaction
Details Type Details The details of the transaction type.
- •OBJECT
Represents an image resource.
- Anchor to altTextalt•String
Text A word or phrase to share the nature or contents of an image.
- Anchor to heightheight•Int
The original height of the image in pixels. Returns
null
if the image isn't hosted by Shopify.- •ID!non-nullPre-auth accessible
A unique non-nullable ID for the image.
- Anchor to thumbhashthumbhash•String
The ThumbHash of the image.
Useful to display placeholder images while the original image is loading.
- •URL!non-nullPre-auth accessible
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.
- Anchor to transformtransform•Image
Transform Input A set of options to transform the original image.
Arguments
- Anchor to widthwidth•Int
The original width of the image in pixels. Returns
null
if the image isn't hosted by Shopify.- Anchor to originalSrcoriginal•URL!
Src - •URL!
- Anchor to transformedSrctransformed•URL!
Src - Anchor to maxWidthmax•Int
Width Image width in pixels between 1 and 5760.
- Anchor to maxHeightmax•Int
Height Image height in pixels between 1 and 5760.
- Anchor to cropcrop•Crop
Region Crops the image according to the specified region.
- Anchor to scalescale•IntDefault:1
Image size multiplier for high-resolution retina displays. Must be between 1 and 3.
- Anchor to preferredContentTypepreferred•Image
Content Type Content Type Best effort conversion of image into content type (SVG -> PNG, Anything -> JPG, Anything -> WEBP are supported).
Arguments
- •OBJECT
A single payment schedule defined in the payment terms.
- Anchor to completedcompleted•Boolean!non-nullPre-auth accessible
Whether the payment has been completed.
- Anchor to completedAtcompleted•Date
At Time The date and time when the payment schedule was paid or fulfilled.
- Anchor to dueAtdue•Date
At Time The date and time when the payment schedule is due.
- •ID!non-nullPre-auth accessible
A globally-unique ID.
- Anchor to amountamount•Money
V2!
- •OBJECT
The payment terms associated with an order or draft order.
- •ID!non-nullPre-auth accessible
A globally-unique ID.
- Anchor to nextDueAtnext•Date
Due At Time The next due date if this is the NET or FIXED type of payment terms.
- Anchor to overdueoverdue•Boolean!non-nullPre-auth accessible
Whether the payment terms have overdue payment schedules.
- Anchor to paymentSchedulespayment•Payment
Schedules Schedule Connection! non-nullPre-auth accessible The list of schedules associated with the payment terms.
- Anchor to paymentTermsNamepayment•String!
Terms Name non-null The name of the payment terms template that was used to create the payment terms.
- •ID!
- •OBJECT
A sale associated with a product.
- 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 lineItemline•Line
Item Item! non-null The line item for the associated 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 record of refunds issued to a customer.
- Anchor to createdAtcreated•Date
At Time The date and time when the refund was created.
- •ID!non-nullPre-auth accessible
A globally-unique ID.
- Anchor to returnNamereturn•String
Name The name of the return, if the refund was issued from a return.
- Anchor to totalRefundedtotal•Money
Refunded V2! non-nullPre-auth accessible The total amount refunded across all transactions, in presentment currencies.
- Anchor to updatedAtupdated•Date
At Time! non-nullPre-auth accessible 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.
- Anchor to happenedAthappened•Date
At Time! non-null The date and time when the agreement occurred.
- •ID!non-null
The unique ID for the agreement.
- Anchor to reasonreason•Order
Action Type! non-null The reason the agreement was created.
- Anchor to refundrefund•Refund!non-null
The refund that's associated with the agreement.
- Anchor to salessales•Sale
Connection! non-null The sales associated with the agreement.
- •OBJECT
A product return.
- Anchor to closedAtclosed•Date
At Time The date when the return was closed.
- Anchor to createdAtcreated•Date
At Time The date when the return was created.
- Anchor to exchangeLineItemsexchange•Exchange
Line Items Line Item Connection! non-nullPre-auth accessible The exchange line items attached to the return.
- •ID!non-nullPre-auth accessible
A globally-unique ID.
- Anchor to namename•String!non-nullPre-auth accessible
The name assigned to the return.
- Anchor to returnLineItemsreturn•Return
Line Items Line Item Type Connection! non-nullPre-auth accessible The line items associated with the return.
- Anchor to returnLineItemsCountreturn•Count
Line Items Count The number of line items associated with the return.
- Anchor to reverseDeliveriesreverse•Reverse
Deliveries Delivery Connection! non-nullPre-auth accessible The list of reverse deliveries associated with the return.
- Anchor to statusstatus•Return
Status! non-nullPre-auth accessible The current status of the
Return
.- Anchor to updatedAtupdated•Date
At Time The date when the return was last updated.
- •OBJECT
An agreement between the merchant and customer for a return.
- Anchor to happenedAthappened•Date
At Time! non-null The date and time when the agreement occurred.
- •ID!non-null
The unique ID for the agreement.
- Anchor to reasonreason•Order
Action Type! non-null The reason the agreement was created.
- Anchor to returnreturn•Return!non-null
The return associated with the agreement.
- Anchor to salessales•Sale
Connection! non-null The sales associated with the agreement.
- •OBJECT
A line item that has been returned.
- •ID!non-nullPre-auth accessible
A globally-unique ID.
- Anchor to lineItemline•Line
Item Item! non-nullPre-auth accessible The related line item that has been returned.
- Anchor to quantityquantity•Int!non-nullPre-auth accessible
The line item quantity that has been returned.
- Anchor to returnReasonreturn•Return
Reason Reason! non-null The reason the line item quantity was returned.
- •ID!
- •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 customerGeneratedLabelcustomer•Boolean!
Generated Label non-null Whether the label was generated by the customer.
- Anchor to deliverabledeliverable•Reverse
Delivery Deliverable The deliverable linked with the reverse delivery.
- •ID!non-nullPre-auth accessible
A globally-unique ID.
- •OBJECT
The tax allocated to a sale from a single tax line.
- Anchor to amountamount•Money
V2! 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.
- Anchor to taxLinetax•Tax
Line Line! non-null The tax line associated with the sale.
- •OBJECT
A sale associated with a shipping 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 collection of the general information about the shop.
- Anchor to emailemail•String!non-null
The email of the shop.
- •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 myshopifyDomainmyshopify•String!
Domain non-null The shop's .myshopify.com domain name.
- Anchor to namename•String!non-null
The name of the shop.
- Anchor to shopPoliciesshop•[Shop
Policies Policy!]! 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.
- Anchor to bodybody•HTML!non-null
The text of the policy. The maximum size is 512kb.
- Anchor to handlehandle•String!non-null
The handle of the policy.
- •ID!non-nullPre-auth accessible
A globally-unique ID.
- Anchor to titletitle•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.
- Anchor to balancebalance•Money
V2! non-nullPre-auth accessible The current balance of the store credit account.
- •ID!non-nullPre-auth accessible
A globally-unique ID.
- Anchor to transactionstransactions•Store
Credit Account Transaction Connection! non-nullPre-auth accessible The transaction history of the store credit account.
- •OBJECT
A credit transaction which increases the store credit account balance.
- Anchor to accountaccount•Store
Credit Account! non-null The store credit account that the transaction belongs to.
- Anchor to amountamount•Money
V2! non-null The amount of the transaction.
- Anchor to balanceAfterTransactionbalance•Money
After Transaction V2! non-null The balance of the account after the transaction.
- Anchor to createdAtcreated•Date
At Time! non-null The date and time when the transaction was created.
- Anchor to eventevent•Store
Credit System Event! non-null The event that caused the store credit account transaction.
- Anchor to expiresAtexpires•Date
At Time The time at which the transaction expires. Debit transactions will always spend the soonest expiring credit first.
- •ID!non-nullPre-auth accessible
A globally-unique ID.
- Anchor to originorigin•Store
Credit Account Transaction Origin The origin of the store credit account transaction.
- Anchor to remainingAmountremaining•Money
Amount V2! 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.
- Anchor to accountaccount•Store
Credit Account! non-null The store credit account that the transaction belongs to.
- Anchor to amountamount•Money
V2! non-null The amount of the transaction.
- Anchor to balanceAfterTransactionbalance•Money
After Transaction V2! non-null The balance of the account after the transaction.
- Anchor to createdAtcreated•Date
At Time! non-null The date and time when the transaction was created.
- Anchor to debitTransactiondebit•Store
Transaction Credit Account Debit Transaction! non-null The reverted debit transaction.
- Anchor to eventevent•Store
Credit System Event! non-null The event that caused the store credit account transaction.
- •ID!non-nullPre-auth accessible
A globally-unique ID.
- Anchor to originorigin•Store
Credit Account Transaction Origin The origin of the store credit account transaction.
- •OBJECT
A debit transaction which decreases the store credit account balance.
- Anchor to accountaccount•Store
Credit Account! non-null The store credit account that the transaction belongs to.
- Anchor to amountamount•Money
V2! non-null The amount of the transaction.
- Anchor to balanceAfterTransactionbalance•Money
After Transaction V2! non-null The balance of the account after the transaction.
- Anchor to createdAtcreated•Date
At Time! non-null The date and time when the transaction was created.
- Anchor to eventevent•Store
Credit System Event! non-null The event that caused the store credit account transaction.
- •ID!non-nullPre-auth accessible
A globally-unique ID.
- Anchor to originorigin•Store
Credit Account Transaction Origin The origin of the store credit account transaction.
- •OBJECT
A Subscription Contract.
- Anchor to billingPolicybilling•Subscription
Policy Billing Policy! non-null The billing policy associated with the subscription contract.
- Anchor to createdAtcreated•Date
At Time! non-null The date and time when the subscription contract was created.
- Anchor to currencyCodecurrency•Currency
Code Code! non-null The currency used for the subscription contract.
- Anchor to customAttributescustom•[Attribute!]!
Attributes non-null A list of custom attributes to be added to the generated orders.
- Anchor to deliveryMethoddelivery•Subscription
Method Delivery Method The delivery method for each billing of the subscription contract.
- Anchor to deliveryPolicydelivery•Subscription
Policy Delivery Policy! non-null The delivery policy associated with the subscription contract.
- Anchor to deliveryPricedelivery•Money
Price V2! non-null The delivery price for each billing of the subscription contract.
- Anchor to discountsdiscounts•Subscription
Discount Connection The list of subscription discounts associated with the subscription contract.
- •ID!non-nullPre-auth accessible
A globally-unique ID.
- Anchor to lastBillingAttemptErrorTypelast•Subscription
Billing Attempt Error Type Contract Last Billing Error Type The last billing error type of the contract.
- Anchor to lastPaymentStatuslast•Subscription
Payment Status Contract Last Payment Status The current status of the last payment.
- Anchor to lineslines•Subscription
Line Connection! non-null A list of subscription lines associated with the subscription contract.
- Anchor to linesCountlines•Count
Count The number of lines associated with the subscription contract.
- Anchor to nextBillingDatenext•Date
Billing Date Time The next billing date for the subscription contract.
- Anchor to notenote•String
A note that will be applied to the generated orders.
- Anchor to ordersorders•Order
Connection! non-null A list of the subscription contract's orders.
- Anchor to originOrderorigin•Order
Order The order from which the contract originated.
- Anchor to revisionIdrevision•Unsigned
Id Int64! non-null The revision ID of the contract.
- Anchor to statusstatus•Subscription
Contract Subscription Status! non-null The current status of the subscription contract.
- Anchor to upcomingBillingCyclesupcoming•Subscription
Billing Cycles Billing Cycle Connection! non-null The upcoming billing cycles on the subscription contract.
- Anchor to updatedAtupdated•Date
At Time! 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.
- Anchor to channelLiablechannel•Boolean!
Liable non-null Whether the channel that submitted the tax line is responsible for remitting it.
- •ID!non-nullPre-auth accessible
A globally-unique ID.
- Anchor to priceSetprice•Money
Set V2! non-null The tax amount in shop and presentment currencies, calculated after discounts and before returns.
- Anchor to raterate•Float
The proportion of the line item price represented by the tax, expressed as a decimal.
- Anchor to ratePercentagerate•Float
Percentage The proportion of the line item price represented by the tax, expressed as a percentage.
- Anchor to sourcesource•String
The origin of the tax.
- Anchor to titletitle•String!non-null
The name of the applied tax.
- •OBJECT
A sale that is associated with a tip.
- 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 lineItemline•Line
Item Item! non-null The line item associated with 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
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.
- 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 line type assocated 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
An unverified return line item.
- •ID!non-nullPre-auth accessible
A globally-unique ID.
- Anchor to lineItemline•Line
Item Item! non-nullPre-auth accessible The specific line item that's being returned.
- Anchor to quantityquantity•Int!non-nullPre-auth accessible
The quantity of the line item that's been returned.
- Anchor to returnReasonreturn•Return
Reason Reason! non-null The reason for returning the line item.
- •ID!