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 Types implemented inTypes implemented in
- •OBJECT
A checkout that was abandoned by the customer.
- Anchor to abandonedCheckoutUrlabandoned•URL!
Checkout Url non-null The URL for the buyer to recover their checkout.
- Anchor to billingAddressbilling•Mailing
Address Address The billing address provided by the buyer. Null if the user did not provide a billing address.
- Anchor to completedAtcompleted•Date
At Time The date and time when the buyer completed the checkout. Null if the checkout has not been completed.
- Anchor to createdAtcreated•Date
At Time! non-null The date and time when the checkout was created.
- Anchor to customAttributescustom•[Attribute!]!
Attributes non-null A list of extra information that has been added to the checkout.
- Anchor to customercustomer•Customer
The customer who created this checkout. May be null if the checkout was created from a draft order or via an app.
- Anchor to defaultCursordefault•String!
Cursor non-null A default cursor that returns the single next record, sorted ascending by ID.
- Anchor to discountCodesdiscount•[String!]!
Codes non-null The discount codes entered by the buyer at checkout.
- •ID!non-null
A globally-unique ID.
- Anchor to lineItemsline•Abandoned
Items Checkout Line Item Connection! non-null A list of the line items in this checkout.
- Anchor to namename•String!non-null
Unique merchant-facing identifier for the checkout.
- Anchor to notenote•String!non-null
A merchant-facing note added to the checkout. Not visible to the buyer.
- Anchor to shippingAddressshipping•Mailing
Address Address The shipping address to where the line items will be shipped. Null if the user did not provide a shipping address.
- Anchor to subtotalPriceSetsubtotal•Money
Price Set Bag! non-null The sum of all items in the checkout, including discounts but excluding shipping, taxes and tips.
- Anchor to taxesIncludedtaxes•Boolean!
Included non-null Whether taxes are included in line item and shipping line prices.
- Anchor to taxLinestax•[Tax
Lines Line!]! non-null Individual taxes charged on the checkout.
- Anchor to totalDiscountSettotal•Money
Discount Set Bag! non-null The total amount of discounts to be applied.
- Anchor to totalDutiesSettotal•Money
Duties Set Bag The total duties applied to the checkout.
- Anchor to totalLineItemsPriceSettotal•Money
Line Items Price Set Bag! non-null The sum of the prices of all line items in the checkout.
- Anchor to totalPriceSettotal•Money
Price Set Bag! non-null The sum of all items in the checkout, including discounts, shipping, taxes, and tips.
- Anchor to totalTaxSettotal•Money
Tax Set Bag The total tax applied to the checkout.
- Anchor to updatedAtupdated•Date
At Time! non-null The date and time when the checkout was most recently updated.
- Anchor to lineItemsQuantityline•Int!
Items Quantity non-nullDeprecated
- •OBJECT
A single line item in an abandoned checkout.
- Anchor to customAttributescustom•[Attribute!]!
Attributes non-null A list of extra information that has been added to the line item.
- Anchor to discountAllocationsdiscount•Discount
Allocations Allocation Connection! non-null Discount allocations that have been applied on the line item.
- Anchor to discountedTotalPriceSetdiscounted•Money
Total Price Set Bag! non-null Final total price for the entire quantity of this line item, including discounts.
- Anchor to discountedTotalPriceWithCodeDiscountdiscounted•Money
Total Price With Code Discount Bag! non-null The total price for the entire quantity of this line item, after all discounts are applied, at both the line item and code-based line item level.
- Anchor to discountedUnitPriceSetdiscounted•Money
Unit Price Set Bag! non-null The price of a single variant unit after discounts are applied at the line item level, in shop and presentment currencies.
- Anchor to discountedUnitPriceWithCodeDiscountdiscounted•Money
Unit Price With Code Discount Bag! non-null The price of a single variant unit after all discounts are applied, at both the line item and code-based line item level.
- •ID!non-null
A globally-unique ID.
- Anchor to imageimage•Image
The image associated with the line item's variant or product. NULL if the line item has no product, or if neither the variant nor the product have an image.
- Anchor to originalTotalPriceSetoriginal•Money
Total Price Set Bag! non-null Original total price for the entire quantity of this line item, before discounts.
- Anchor to originalUnitPriceSetoriginal•Money
Unit Price Set Bag! non-null Original price for a single unit of this line item, before discounts.
- Anchor to productproduct•Product
Product for this line item. NULL for custom line items and products that were deleted after checkout began.
- Anchor to quantityquantity•Int!non-null
The quantity of the line item.
- •String
SKU for the inventory item associated with the variant, if any.
- Anchor to titletitle•String
Title of the line item. Defaults to the product's title.
- Anchor to variantvariant•Product
Variant Product variant for this line item. NULL for custom line items and variants that were deleted after checkout began.
- Anchor to variantTitlevariant•String
Title Title of the variant for this line item. NULL for custom line items and products that don't have distinct variants.
- •OBJECT
A browse, cart, or checkout that was abandoned by a customer.
- Anchor to abandonedCheckoutPayloadabandoned•Abandoned
Checkout Payload Checkout The abandonment payload for the abandoned checkout.
- Anchor to abandonmentTypeabandonment•Abandonment
Type Abandonment Type! non-null The abandonment type.
- •App!non-null
The app associated with an abandoned checkout.
- Anchor to cartUrlcart•URL
Url Permalink to the cart page.
- Anchor to createdAtcreated•Date
At Time! non-null The date and time when the abandonment was created.
- Anchor to customercustomer•Customer!non-null
The customer who abandoned this event.
- Anchor to customerHasNoDraftOrderSinceAbandonmentcustomer•Boolean!
Has No Draft Order Since Abandonment non-null Whether the customer has a draft order since this abandonment has been abandoned.
- Anchor to customerHasNoOrderSinceAbandonmentcustomer•Boolean!
Has No Order Since Abandonment non-null Whether the customer has completed an order since this checkout has been abandoned.
- Anchor to daysSinceLastAbandonmentEmaildays•Int!
Since Last Abandonment Email non-null The number of days since the last abandonment email was sent to the customer.
- Anchor to emailSentAtemail•Date
Sent At Time When the email was sent, if that's the case.
- Anchor to emailStateemail•Abandonment
State Email State The email state (e.g., sent or not sent).
- Anchor to hoursSinceLastAbandonedCheckouthours•Float
Since Last Abandoned Checkout The number of hours since the customer has last abandoned a checkout.
- •ID!non-null
A globally-unique ID.
- Anchor to inventoryAvailableinventory•Boolean!
Available non-null Whether the products in abandonment are available.
- Anchor to isFromCustomStorefrontis•Boolean!
From Custom Storefront non-null Whether the abandonment event comes from a custom storefront channel.
- Anchor to isFromOnlineStoreis•Boolean!
From Online Store non-null Whether the abandonment event comes from the Online Store sales channel.
- Anchor to isFromShopAppis•Boolean!
From Shop App non-null Whether the abandonment event comes from the Shop app sales channel.
- Anchor to isFromShopPayis•Boolean!
From Shop Pay non-null Whether the abandonment event comes from Shop Pay.
- Anchor to isMostSignificantAbandonmentis•Boolean!
Most Significant Abandonment non-null Whether the customer didn't complete another most significant step since this abandonment.
- Anchor to lastBrowseAbandonmentDatelast•Date
Browse Abandonment Date Time! non-null The date for the latest browse abandonment.
- Anchor to lastCartAbandonmentDatelast•Date
Cart Abandonment Date Time! non-null The date for the latest cart abandonment.
- Anchor to lastCheckoutAbandonmentDatelast•Date
Checkout Abandonment Date Time! non-null The date for the latest checkout abandonment.
- Anchor to mostRecentStepmost•Abandonment
Recent Step Abandonment Type! non-null The most recent step type.
- Anchor to productsAddedToCartproducts•Customer
Added To Cart Visit Product Info Connection! non-null The products added to the cart during the customer abandoned visit.
- Anchor to productsViewedproducts•Customer
Viewed Visit Product Info Connection! non-null The products viewed during the customer abandoned visit.
- Anchor to visitStartedAtvisit•Date
Started At Time The date and time when the visit started.
- •OBJECT
Represents an operation publishing all products to a publication.
- •ID!non-null
A globally-unique ID.
- Anchor to processedRowCountprocessed•Int
Row Count The count of processed rows, summing imported, failed, and skipped rows.
- Anchor to rowCountrow•Row
Count Count Represents a rows objects within this background operation.
- Anchor to statusstatus•Resource
Operation Status! non-null The status of this operation.
- •ID!
- •OBJECT
The additional fees that have been applied to the order.
- •ID!non-null
A globally-unique ID.
- Anchor to namename•String!non-null
The name of the additional fee.
- Anchor to priceprice•Money
Bag! non-null The price of the additional fee.
- Anchor to taxLinestax•[Tax
Lines Line!]! non-null A list of taxes charged on the additional fee.
- •ID!
- •OBJECT
A Shopify application.
- Anchor to apiKeyapi•String!
Key non-null A unique application API identifier.
- Anchor to appStoreAppUrlapp•URL
Store App Url App store page URL of the app.
- Anchor to appStoreDeveloperUrlapp•URL
Store Developer Url App store page URL of the developer who created the app.
- Anchor to availableAccessScopesavailable•[Access
Access Scopes Scope!]! non-null All requestable access scopes available to the app.
- •Image!non-null
Banner image for the app.
- Anchor to descriptiondescription•String
Description of the app.
- Anchor to developerNamedeveloper•String
Name The name of the app developer.
- Anchor to developerTypedeveloper•App
Type Developer Type! non-null The type of app developer.
- Anchor to embeddedembedded•Boolean!non-null
Whether the app uses the Embedded App SDK.
- Anchor to failedRequirementsfailed•[Failed
Requirements Requirement!]! non-null Requirements that must be met before the app can be installed.
- Anchor to featuresfeatures•[String!]!non-null
A list of app features that are shown in the Shopify App Store listing.
- Anchor to feedbackfeedback•App
Feedback Feedback from this app about the store.
- Anchor to handlehandle•String
Handle of the app.
- Anchor to iconicon•Image!non-null
Icon that represents the app.
- •ID!non-null
A globally-unique ID.
- Anchor to installationinstallation•App
Installation Corresponding AppInstallation for this shop and App. Returns null if the App is not installed.
- Anchor to installUrlinstall•URL
Url Webpage where you can install the app.
- Anchor to isPostPurchaseAppInUseis•Boolean!
Post Purchase App In Use non-null Whether the app is the post purchase app in use.
- Anchor to optionalAccessScopesoptional•[Access
Access Scopes Scope!]! non-null The optional scopes requested by the app. Lists the optional access scopes the app has declared in its configuration. These scopes are optionally requested by the app after installation.
- Anchor to previouslyInstalledpreviously•Boolean!
Installed non-null Whether the app was previously installed on the current shop.
- Anchor to pricingDetailspricing•String
Details Detailed information about the app pricing.
- Anchor to pricingDetailsSummarypricing•String!
Details Summary non-null Summary of the app pricing details.
- Anchor to privacyPolicyUrlprivacy•URL
Policy Url Link to app privacy policy.
- Anchor to publicCategorypublic•App
Category Public Category! non-null The public category for the app.
- Anchor to publishedpublished•Boolean!non-null
Whether the app is published to the Shopify App Store.
- Anchor to requestedAccessScopesrequested•[Access
Access Scopes Scope!]! non-null The access scopes requested by the app. Lists the access scopes the app has declared in its configuration. Merchant must grant approval to these scopes for the app to be installed.
- Anchor to screenshotsscreenshots•[Image!]!non-null
Screenshots of the app.
- Anchor to shopifyDevelopedshopify•Boolean!
Developed non-null Whether the app was developed by Shopify.
- Anchor to titletitle•String!non-null
Name of the app.
- Anchor to uninstallMessageuninstall•String!
Message non-null Message that appears when the app is uninstalled. For example: By removing this app, you will no longer be able to publish products to MySocialSite or view this app in your Shopify admin. You can re-enable this channel at any time.
- Anchor to webhookApiVersionwebhook•String!
Api Version non-null The webhook API version for the app.
- Anchor to developerUrldeveloper•URL!
Url non-nullDeprecated - Anchor to launchUrllaunch•URL!
Url non-nullDeprecated - •[Navigation
Item!]! non-nullDeprecated - Anchor to uninstallUrluninstall•URL
Url Deprecated
- •OBJECT
A catalog that defines the publication associated with an app.
- Anchor to appsapps•App
Connection! non-null The apps associated with the catalog.
- •ID!non-null
A globally-unique ID.
- Anchor to operationsoperations•[Resource
Operation!]! non-null Most recent catalog operations.
- Anchor to priceListprice•Price
List List The price list associated with the catalog.
- Anchor to publicationpublication•Publication
A group of products and collections that's published to a catalog.
- Anchor to statusstatus•Catalog
Status! non-null The status of the catalog.
- Anchor to titletitle•String!non-null
The name of the catalog.
- •OBJECT
App credits can be applied by the merchant towards future app purchases, subscriptions, or usage records in Shopify.
- Anchor to amountamount•Money
V2! non-null The amount that can be used towards future app purchases in Shopify.
- Anchor to createdAtcreated•Date
At Time! non-null The date and time when the app credit was created.
- Anchor to descriptiondescription•String!non-null
The description of the app credit.
- •ID!non-null
A globally-unique ID.
- Anchor to testtest•Boolean!non-null
Whether the app credit is a test transaction.
- •OBJECT
Represents an installed application on a shop.
- Anchor to accessScopesaccess•[Access
Scopes Scope!]! non-null The access scopes granted to the application by a merchant during installation.
- Anchor to activeSubscriptionsactive•[App
Subscriptions Subscription!]! non-null The active application subscriptions billed to the shop on a recurring basis.
- Anchor to allSubscriptionsall•App
Subscriptions Subscription Connection! non-null All subscriptions created for a shop.
- •App!non-null
Application which is installed.
- Anchor to creditscredits•App
Credit Connection! non-null Credits that can be used towards future app purchases.
- •ID!non-null
A globally-unique ID.
- Anchor to launchUrllaunch•URL!
Url non-null The URL to launch the application.
- Anchor to metafieldmetafield•Metafield
A custom field, including its
namespace
andkey
, that's associated with a Shopify resource for the purposes of adding and storing additional information.- Anchor to metafieldsmetafields•Metafield
Connection! non-null A list of custom fields that a merchant associates with a Shopify resource.
- Anchor to oneTimePurchasesone•App
Time Purchases Purchase One Time Connection! non-null One-time purchases to a shop.
- Anchor to publicationpublication•Publication
The publication associated with the installed application.
- Anchor to revenueAttributionRecordsrevenue•App
Attribution Records Revenue Attribution Record Connection! non-null The records that track the externally-captured revenue for the app. The records are used for revenue attribution purposes.
- Anchor to uninstallUrluninstall•URL
Url The URL to uninstall the application.
- Anchor to channelchannel•ChannelDeprecated
- Anchor to privateMetafieldprivate•Private
Metafield Metafield Deprecated - Anchor to privateMetafieldsprivate•Private
Metafields Metafield Connection! non-nullDeprecated - Anchor to subscriptionssubscriptions•[App
Subscription!]! non-nullDeprecated
- •OBJECT
Services and features purchased once by a store.
- Anchor to createdAtcreated•Date
At Time! non-null The date and time when the app purchase occurred.
- •ID!non-null
A globally-unique ID.
- Anchor to namename•String!non-null
The name of the app purchase.
- Anchor to priceprice•Money
V2! non-null The amount to be charged to the store for the app purchase.
- Anchor to statusstatus•App
Purchase Status! non-null The status of the app purchase.
- Anchor to testtest•Boolean!non-null
Whether the app purchase is a test transaction.
- •OBJECT
Represents app revenue that was captured externally by the partner.
- Anchor to amountamount•Money
V2! non-null The financial amount captured in this attribution.
- Anchor to capturedAtcaptured•Date
At Time! non-null The timestamp when the financial amount was captured.
- Anchor to createdAtcreated•Date
At Time! non-null The timestamp at which this revenue attribution was issued.
- •ID!non-null
A globally-unique ID.
- Anchor to idempotencyKeyidempotency•String!
Key non-null The unique value submitted during the creation of the app revenue attribution record. For more information, refer to Idempotent requests.
- Anchor to testtest•Boolean!non-null
Indicates whether this is a test submission.
- Anchor to typetype•App
Revenue Attribution Type! non-null The type of revenue attribution.
- •OBJECT
Provides users access to services and/or features for a duration of time.
- Anchor to createdAtcreated•Date
At Time! non-null The date and time when the app subscription was created.
- Anchor to currentPeriodEndcurrent•Date
Period End Time The date and time when the current app subscription period ends. Returns
null
if the subscription isn't active.- •ID!non-null
A globally-unique ID.
- Anchor to lineItemsline•[App
Items Subscription Line Item!]! non-null The plans attached to the app subscription.
- Anchor to namename•String!non-null
The name of the app subscription.
- Anchor to returnUrlreturn•URL!
Url non-null The URL that the merchant is redirected to after approving the app subscription.
- Anchor to statusstatus•App
Subscription Status! non-null The status of the app subscription.
- Anchor to testtest•Boolean!non-null
Specifies whether the app subscription is a test transaction.
- Anchor to trialDaystrial•Int!
Days non-null The number of free trial days, starting at the subscription's creation date, by which billing is delayed.
- •OBJECT
Store usage for app subscriptions with usage pricing.
- Anchor to createdAtcreated•Date
At Time! non-null The date and time when the usage record was created.
- Anchor to descriptiondescription•String!non-null
The description of the app usage record.
- •ID!non-null
A globally-unique ID.
- Anchor to idempotencyKeyidempotency•String
Key A unique key generated by the client to avoid duplicate charges.
- Anchor to priceprice•Money
V2! non-null The price of the usage record.
- Anchor to subscriptionLineItemsubscription•App
Line Item Subscription Line Item! non-null Defines the usage pricing plan the merchant is subscribed to.
- •OBJECT
An article in the blogging system.
- •Article
Author The name of the author of the article.
- Anchor to blogblog•Blog!non-null
The blog containing the article.
- Anchor to bodybody•HTML!non-null
The text of the article's body, complete with HTML markup.
- Anchor to commentscomments•Comment
Connection! non-null List of the article's comments.
- Anchor to commentsCountcomments•Count
Count Count of comments.
- Anchor to createdAtcreated•Date
At Time! non-null The date and time (ISO 8601 format) when the article was created.
- Anchor to defaultCursordefault•String!
Cursor non-null A default cursor that returns the single next record, sorted ascending by ID.
- Anchor to eventsevents•Event
Connection! non-null The paginated list of events associated with the host subject.
- Anchor to handlehandle•String!non-null
A unique, human-friendly string for the article that's automatically generated from the article's title. The handle is used in the article's URL.
- •ID!non-null
A globally-unique ID.
- Anchor to imageimage•Image
The image associated with the article.
- Anchor to isPublishedis•Boolean!
Published non-null Whether or not the article is visible.
- Anchor to metafieldmetafield•Metafield
A custom field, including its
namespace
andkey
, that's associated with a Shopify resource for the purposes of adding and storing additional information.- Anchor to metafieldsmetafields•Metafield
Connection! non-null A list of custom fields that a merchant associates with a Shopify resource.
- Anchor to publishedAtpublished•Date
At Time The date and time (ISO 8601 format) when the article became or will become visible. Returns null when the article isn't visible.
- Anchor to summarysummary•HTML
A summary of the article, which can include HTML markup. The summary is used by the online store theme to display the article on other pages, such as the home page or the main blog page.
- •[String!]!non-null
A comma-separated list of tags. Tags are additional short descriptors formatted as a string of comma-separated values.
- Anchor to templateSuffixtemplate•String
Suffix The name of the template an article is using if it's using an alternate template. If an article is using the default
article.liquid
template, then the value returned isnull
.- Anchor to titletitle•String!non-null
The title of the article.
- Anchor to translationstranslations•[Translation!]!non-null
The published translations associated with the resource.
- Anchor to updatedAtupdated•Date
At Time The date and time (ISO 8601 format) when the article was last updated.
- Anchor to metafieldDefinitionsmetafield•Metafield
Definitions Definition Connection! non-nullDeprecated - Anchor to privateMetafieldprivate•Private
Metafield Metafield Deprecated - Anchor to privateMetafieldsprivate•Private
Metafields Metafield Connection! non-nullDeprecated
- •Article
- •OBJECT
Basic events chronicle resource activities such as the creation of an article, the fulfillment of an order, or the addition of a product.
General events
Action Description create
The item was created. destroy
The item was destroyed. published
The item was published. unpublished
The item was unpublished. update
The item was updated. Order events
Order events can be divided into the following categories:
- Authorization: Includes whether the authorization succeeded, failed, or is pending.
- Capture: Includes whether the capture succeeded, failed, or is pending.
- Email: Includes confirmation or cancellation of the order, as well as shipping.
- Fulfillment: Includes whether the fulfillment succeeded, failed, or is pending. Also includes cancellation, restocking, and fulfillment updates.
- Order: Includess the placement, confirmation, closing, re-opening, and cancellation of the order.
- Refund: Includes whether the refund succeeded, failed, or is pending.
- Sale: Includes whether the sale succeeded, failed, or is pending.
- Void: Includes whether the void succeeded, failed, or is pending.
Action Message Description The customer, unsuccessfully, tried to authorize: .
Authorization failed. The funds cannot be captured. Authorization for is pending.
Authorization pending. The customer successfully authorized us to capture: .
Authorization was successful and the funds are available for capture. cancelled
Order was cancelled by .
The order was cancelled. We failed to capture: .
The capture failed. The funds cannot be transferred to the shop. Capture for is pending.
The capture is in process. The funds are not yet available to the shop. We successfully captured: The capture was successful and the funds are now available to the shop. closed
Order was closed. The order was closed. confirmed
Received a new order: by
.
The order was confirmed. We cancelled from being fulfilled by the third party fulfillment service.
Fulfillment for one or more of the line_items failed. We submitted to the third party service.
One or more of the line_items has been assigned to a third party service for fulfillment. We successfully fulfilled line_items. Fulfillment was successful for one or more line_items. email was sent to the customer.
An email was sent to the customer. placed
Order was placed. An order was placed by the customer. Order was re-opened. An order was re-opened. We failed to refund .
The refund failed. The funds are still with the shop. Refund of is still pending.
The refund is in process. The funds are still with shop. We successfully refunded .
The refund was successful. The funds have been transferred to the customer. We restocked .
One or more of the order's line items have been restocked. The customer failed to pay .
The sale failed. The funds are not available to the shop. The is pending.
The sale is in process. The funds are not yet available to the shop. We successfully captured .
The sale was successful. The funds are now with the shop. update
was updated.
The order was updated. We failed to void the authorization. Voiding the authorization failed. The authorization is still valid. Authorization void is pending. Voiding the authorization is in process. The authorization is still valid. We successfully voided the authorization. Voiding the authorization was successful. The authorization is no longer valid. - Anchor to actionaction•String!non-null
The action that occured.
- Anchor to additionalContentadditional•JSON
Content Provides additional content for collapsible timeline events.
- Anchor to additionalDataadditional•JSON
Data Provides additional data for event consumers.
- Anchor to appTitleapp•String
Title The name of the app that created the event.
- Anchor to argumentsarguments•JSON
Refers to a certain event and its resources.
- Anchor to attributeToAppattribute•Boolean!
To App non-null Whether the event was created by an app.
- Anchor to attributeToUserattribute•Boolean!
To User non-null Whether the event was caused by an admin user.
- Anchor to createdAtcreated•Date
At Time! non-null The date and time when the event was created.
- Anchor to criticalAlertcritical•Boolean!
Alert non-null Whether the event is critical.
- Anchor to hasAdditionalContenthas•Boolean!
Additional Content non-null Whether this event has additional content.
- •ID!non-null
A globally-unique ID.
- Anchor to messagemessage•Formatted
String! non-null Human readable text that describes the event.
- Anchor to secondaryMessagesecondary•Formatted
Message String Human readable text that supports the event message.
- Anchor to subjectsubject•Has
Events The resource that generated the event. To see a list of possible types, refer to HasEvents.
- Anchor to subjectIdsubject•ID!
Id non-null The ID of the resource that generated the event.
- Anchor to subjectTypesubject•Event
Type Subject Type! non-null The type of the resource that generated the event.
- •OBJECT
Shopify stores come with a built-in blogging engine, allowing a shop to have one or more blogs. Blogs are meant to be used as a type of magazine or newsletter for the shop, with content that changes over time.
- Anchor to articlesarticles•Article
Connection! non-null List of the blog's articles.
- Anchor to articlesCountarticles•Count
Count Count of articles.
- Anchor to commentPolicycomment•Comment
Policy Policy! non-null Indicates whether readers can post comments to the blog and if comments are moderated or not.
- Anchor to createdAtcreated•Date
At Time! non-null The date and time when the blog was created.
- Anchor to eventsevents•Event
Connection! non-null The paginated list of events associated with the host subject.
- Anchor to feedfeed•Blog
Feed FeedBurner provider details. Any blogs that aren't already integrated with FeedBurner can't use the service.
- Anchor to handlehandle•String!non-null
A unique, human-friendly string for the blog. If no handle is specified, a handle will be generated automatically from the blog title. The handle is customizable and is used by the Liquid templating language to refer to the blog.
- •ID!non-null
A globally-unique ID.
- Anchor to metafieldmetafield•Metafield
A custom field, including its
namespace
andkey
, that's associated with a Shopify resource for the purposes of adding and storing additional information.- Anchor to metafieldsmetafields•Metafield
Connection! non-null A list of custom fields that a merchant associates with a Shopify resource.
- •[String!]!non-null
A list of tags associated with the 200 most recent blog articles.
- Anchor to templateSuffixtemplate•String
Suffix The name of the template a blog is using if it's using an alternate template. Returns
null
if a blog is using the default blog.liquid template.- Anchor to titletitle•String!non-null
The title of the blog.
- Anchor to translationstranslations•[Translation!]!non-null
The published translations associated with the resource.
- Anchor to updatedAtupdated•Date
At Time The date and time when the blog was update.
- Anchor to metafieldDefinitionsmetafield•Metafield
Definitions Definition Connection! non-nullDeprecated - Anchor to privateMetafieldprivate•Private
Metafield Metafield Deprecated - Anchor to privateMetafieldsprivate•Private
Metafields Metafield Connection! non-nullDeprecated
- •OBJECT
An asynchronous long-running operation to fetch data in bulk or to bulk import data.
Bulk operations are created using the
or
mutation. After they are created, clients should poll the
status
field for updates. When, the
url
field contains a link to the data in JSONL format.Refer to the bulk operations guide for more details.
- Anchor to completedAtcompleted•Date
At Time When the bulk operation was successfully completed.
- Anchor to createdAtcreated•Date
At Time! non-null When the bulk operation was created.
- Anchor to errorCodeerror•Bulk
Code Operation Error Code Error code for failed operations.
- Anchor to fileSizefile•Unsigned
Size Int64 File size in bytes of the file in the
url
field.- •ID!non-null
A globally-unique ID.
- Anchor to objectCountobject•Unsigned
Count Int64! non-null A running count of all the objects processed. For example, when fetching all the products and their variants, this field counts both products and variants. This field can be used to track operation progress.
- Anchor to partialDataUrlpartial•URL
Data Url The URL that points to the partial or incomplete response data (in JSONL format) that was returned by a failed operation. The URL expires 7 days after the operation fails. Returns
null
when there's no data available.- Anchor to queryquery•String!non-null
GraphQL query document specified in
.
- Anchor to rootObjectCountroot•Unsigned
Object Count Int64! non-null A running count of all the objects that are processed at the root of the query. For example, when fetching all the products and their variants, this field only counts products. This field can be used to track operation progress.
- Anchor to statusstatus•Bulk
Operation Status! non-null Status of the bulk operation.
- Anchor to typetype•Bulk
Operation Type! non-null The bulk operation's type.
- •OBJECT
Represents a merchant's Business Entity.
- Anchor to addressaddress•Business
Entity Address! non-null The address of the merchant's Business Entity.
- Anchor to companyNamecompany•String
Name The name of the company associated with the merchant's Business Entity.
- Anchor to displayNamedisplay•String!
Name non-null The display name of the merchant's Business Entity.
- •ID!non-null
A globally-unique ID.
- Anchor to primaryprimary•Boolean!non-null
Whether it's the merchant's primary Business Entity.
- Anchor to shopifyPaymentsAccountshopify•Shopify
Payments Account Payments Account Shopify Payments account information, including balances and payouts.
- •OBJECT
An order with edits applied but not saved.
- Anchor to addedDiscountApplicationsadded•Calculated
Discount Applications Discount Application Connection! non-null Returns only the new discount applications being added to the order in the current edit.
- Anchor to addedLineItemsadded•Calculated
Line Items Line Item Connection! non-null Returns only the new line items being added to the order during the current edit.
- Anchor to cartDiscountAmountSetcart•Money
Discount Amount Set Bag Amount of the order-level discount (doesn't contain any line item discounts) in shop and presentment currencies.
- •ID!non-null
A globally-unique ID.
- Anchor to lineItemsline•Calculated
Items Line Item Connection! non-null Returns all items on the order that existed before starting the edit. Will include any changes that have been made. Will not include line items added during the current edit.
- Anchor to notificationPreviewHtmlnotification•HTML
Preview Html The HTML of the customer notification for the order edit.
- Anchor to notificationPreviewTitlenotification•String!
Preview Title non-null The customer notification title.
- Anchor to originalOrderoriginal•Order!
Order non-null The order without any changes applied.
- Anchor to shippingLinesshipping•[Calculated
Lines Shipping Line!]! non-null Returns the shipping lines on the order that existed before starting the edit. Will include any changes that have been made as well as shipping lines added during the current edit. Returns only the first 250 shipping lines.
- Anchor to stagedChangesstaged•Order
Changes Staged Change Connection! non-null List of changes made to the order during the current edit.
- Anchor to subtotalLineItemsQuantitysubtotal•Int!
Line Items Quantity non-null The sum of the quantities for the line items that contribute to the order's subtotal.
- Anchor to subtotalPriceSetsubtotal•Money
Price Set Bag The subtotal of the line items, in shop and presentment currencies, after all the discounts are applied. The subtotal doesn't include shipping. The subtotal includes taxes for taxes-included orders and excludes taxes for taxes-excluded orders.
- Anchor to taxLinestax•[Tax
Lines Line!]! non-null Taxes charged for the line item.
- Anchor to totalOutstandingSettotal•Money
Outstanding Set Bag! non-null Total price of the order less the total amount received from the customer in shop and presentment currencies.
- Anchor to totalPriceSettotal•Money
Price Set Bag! non-null Total amount of the order (includes taxes and discounts) in shop and presentment currencies.
- Anchor to committedcommitted•Boolean!non-nullDeprecated
- •OBJECT
A Cart Transform Function to create Customized Bundles..
- Anchor to blockOnFailureblock•Boolean!
On Failure non-null Whether a run failure will block cart and checkout operations.
- Anchor to functionIdfunction•String!
Id non-null The ID for the Cart Transform function.
- •ID!non-null
A globally-unique ID.
- Anchor to metafieldmetafield•Metafield
A custom field, including its
namespace
andkey
, that's associated with a Shopify resource for the purposes of adding and storing additional information.- Anchor to metafieldsmetafields•Metafield
Connection! non-null A list of custom fields that a merchant associates with a Shopify resource.
- Anchor to privateMetafieldprivate•Private
Metafield Metafield Deprecated - Anchor to privateMetafieldsprivate•Private
Metafields Metafield Connection! non-nullDeprecated
- •OBJECT
Tracks an adjustment to the cash in a cash tracking session for a point of sale device over the course of a shift.
- Anchor to cashcash•Money
V2! non-null The amount of cash being added or removed.
- •ID!non-null
A globally-unique ID.
- Anchor to notenote•String
The note entered when the adjustment was made.
- Anchor to staffMemberstaff•Staff
Member Member! non-null The staff member who made the adjustment.
- Anchor to timetime•Date
Time! non-null The time when the adjustment was made.
- •OBJECT
Tracks the balance in a cash drawer for a point of sale device over the course of a shift.
- Anchor to adjustmentsadjustments•Cash
Tracking Adjustment Connection! non-null The adjustments made to the cash drawer during this session.
- Anchor to cashTrackingEnabledcash•Boolean!
Tracking Enabled non-null Whether this session is tracking cash payments.
- Anchor to cashTransactionscash•Order
Transactions Transaction Connection! non-null The cash transactions made during this session.
- Anchor to closingBalanceclosing•Money
Balance V2 The counted cash balance when the session was closed.
- Anchor to closingNoteclosing•String
Note The note entered when the session was closed.
- Anchor to closingStaffMemberclosing•Staff
Staff Member Member The user who closed the session.
- Anchor to closingTimeclosing•Date
Time Time When the session was closed.
- Anchor to expectedBalanceexpected•Money
Balance V2! non-null The expected balance at the end of the session or the expected current balance for sessions that are still open.
- Anchor to expectedClosingBalanceexpected•Money
Closing Balance V2 The amount that was expected to be in the cash drawer at the end of the session, calculated after the session was closed.
- Anchor to expectedOpeningBalanceexpected•Money
Opening Balance V2 The amount expected to be in the cash drawer based on the previous session.
- •ID!non-null
A globally-unique ID.
- Anchor to locationlocation•Location
The location of the point of sale device during this session.
- Anchor to netCashSalesnet•Money
Cash Sales V2! non-null The net cash sales made for the duration of this cash tracking session.
- Anchor to openingBalanceopening•Money
Balance V2! non-null The counted cash balance when the session was opened.
- Anchor to openingNoteopening•String
Note The note entered when the session was opened.
- Anchor to openingStaffMemberopening•Staff
Staff Member Member The user who opened the session.
- Anchor to openingTimeopening•Date
Time Time! non-null When the session was opened.
- Anchor to registerNameregister•String!
Name non-null The register name for the point of sale device that this session is tracking cash for.
- Anchor to totalAdjustmentstotal•Money
Adjustments V2 The sum of all adjustments made during the session, excluding the final adjustment.
- Anchor to totalCashRefundstotal•Money
Cash Refunds V2! non-null The sum of all cash refunds for the duration of this cash tracking session.
- Anchor to totalCashSalestotal•Money
Cash Sales V2! non-null The sum of all cash sales for the duration of this cash tracking session.
- Anchor to totalDiscrepancytotal•Money
Discrepancy V2 The total discrepancy for the session including starting and ending.
- •OBJECT
A catalog csv operation represents a CSV file import.
- •ID!non-null
A globally-unique ID.
- Anchor to processedRowCountprocessed•Int
Row Count The count of processed rows, summing imported, failed, and skipped rows.
- Anchor to rowCountrow•Row
Count Count Represents a rows objects within this background operation.
- Anchor to statusstatus•Resource
Operation Status! non-null The status of this operation.
- •ID!
- •OBJECT
A channel represents an app where you sell a group of products and collections. A channel can be a platform or marketplace such as Facebook or Pinterest, an online store, or POS.
- •App!non-null
The underlying app used by the channel.
- Anchor to collectionPublicationsV3collection•Resource
Publications V3 Publication Connection! non-null The collection publications for the list of collections published to the channel.
- Anchor to collectionscollections•Collection
Connection! non-null The list of collections published to the channel.
- Anchor to hasCollectionhas•Boolean!
Collection non-null Whether the collection is available to the channel.
- •ID!required
The collection ID to check.
Arguments
- •ID!
- •ID!non-null
A globally-unique ID.
- Anchor to namename•String!non-null
The name of the channel.
- Anchor to productPublicationsV3product•Resource
Publications V3 Publication Connection! non-null The product publications for the list of products published to the channel.
- Anchor to productsproducts•Product
Connection! non-null The list of products published to the channel.
- Anchor to productsCountproducts•Count
Count The count of products published to the channel. Limited to a maximum of 10000 by default.
- Anchor to supportsFuturePublishingsupports•Boolean!
Future Publishing non-null Whether the channel supports future publishing.
- Anchor to handlehandle•String!non-nullDeprecated
- •[Navigation
Item!]! non-nullDeprecated - Anchor to overviewPathoverview•URL
Path Deprecated - Anchor to productPublicationsproduct•Product
Publications Publication Connection! non-nullDeprecated
- •App!
- •OBJECT
A channel definition represents channels surfaces on the platform. A channel definition can be a platform or a subsegment of it such as Facebook Home, Instagram Live, Instagram Shops, or WhatsApp chat.
- Anchor to channelNamechannel•String!
Name non-null Name of the channel that this sub channel belongs to.
- Anchor to handlehandle•String!non-null
Unique string used as a public identifier for the channel definition.
- •ID!non-null
The unique ID for the channel definition.
- Anchor to isMarketplaceis•Boolean!
Marketplace non-null Whether this channel definition represents a marketplace.
- Anchor to subChannelNamesub•String!
Channel Name non-null Name of the sub channel (e.g. Online Store, Instagram Shopping, TikTok Live).
- Anchor to svgIconsvg•String
Icon Deprecated
- •OBJECT
Contains the information for a given sales channel.
- •App!non-null
The app associated with the channel.
- Anchor to channelDefinitionchannel•Channel
Definition Definition The channel definition associated with the channel.
- Anchor to channelIdchannel•ID!
Id non-null The unique ID for the channel.
- •ID!non-null
A globally-unique ID.
- •App!
- •OBJECT
A checkout profile defines the branding settings and the UI extensions for a store's checkout. A checkout profile could be published or draft. A store might have at most one published checkout profile, which is used to render their live checkout. The store could also have multiple draft profiles that were created, previewed, and published using the admin checkout editor.
- Anchor to createdAtcreated•Date
At Time! non-null The date and time when the checkout profile was created.
- Anchor to editedAtedited•Date
At Time! non-null The date and time when the checkout profile was last edited.
- •ID!non-null
A globally-unique ID.
- Anchor to isPublishedis•Boolean!
Published non-null Whether the checkout profile is published or not.
- Anchor to namename•String!non-null
The profile name.
- Anchor to typOspPagesActivetyp•Boolean!
Osp Pages Active non-null Whether the checkout profile Thank You Page and Order Status Page are actively using extensibility or not.
- Anchor to updatedAtupdated•Date
At Time! non-null The date and time when the checkout profile was last updated.
- •OBJECT
The
Collection
object represents a group of products that merchants can organize to make their stores easier to browse and help customers find related products. Collections serve as the primary way to categorize and display products across online stores, sales channels, and marketing campaigns.There are two types of collections:
- Custom (manual) collections: You specify the products to include in a collection.
- Smart (automated) collections: You define rules, and products matching those rules are automatically included in the collection.
The
Collection
object provides information to:- Organize products by category, season, or promotion.
- Automate product grouping using rules (for example, by tag, type, or price).
- Configure product sorting and display order (for example, alphabetical, best-selling, price, or manual).
- Manage collection visibility and publication across sales channels.
- Add rich descriptions, images, and metadata to enhance discovery.
NoteCollections can be displayed in a store with Shopify's theme system through Liquid templates and can be customized with template suffixes for unique layouts. They also support advanced features like translated content, resource feedback, and contextual publication for location-based catalogs.
Learn about using metafields with smart collections.
- Anchor to availablePublicationsCountavailable•Count
Publications Count The number of publications that a resource is published to, without feedback errors.
- Anchor to descriptiondescription•String!non-null
A single-line, text-only description of the collection, stripped of any HTML tags and formatting that were included in the description.
- Anchor to truncateAttruncate•Int
At Truncates a string after the given length.
Arguments
- Anchor to descriptionHtmldescription•HTML!
Html non-null The description of the collection, including any HTML tags and formatting. This content is typically displayed to customers, such as on an online store, depending on the theme.
- Anchor to eventsevents•Event
Connection! non-null The paginated list of events associated with the host subject.
- Anchor to feedbackfeedback•Resource
Feedback Information about the collection that's provided through resource feedback.
- Anchor to handlehandle•String!non-null
A unique string that identifies the collection. If a handle isn't specified when a collection is created, it's automatically generated from the collection's original title, and typically includes words from the title separated by hyphens. For example, a collection that was created with the title
Summer Catalog 2022
might have the handlesummer-catalog-2022
.If the title is changed, the handle doesn't automatically change.
The handle can be used in themes by the Liquid templating language to refer to the collection, but using the ID is preferred because it never changes.
- Anchor to hasProducthas•Boolean!
Product non-null Whether the collection includes the specified product.
- •ID!required
The ID of the product to check.
Arguments
- •ID!
- •ID!non-null
A globally-unique ID.
- Anchor to imageimage•Image
The image associated with the collection.
- Anchor to legacyResourceIdlegacy•Unsigned
Resource Id Int64! non-null The ID of the corresponding resource in the REST Admin API.
- Anchor to metafieldmetafield•Metafield
A custom field, including its
namespace
andkey
, that's associated with a Shopify resource for the purposes of adding and storing additional information.- Anchor to metafieldsmetafields•Metafield
Connection! non-null A list of custom fields that a merchant associates with a Shopify resource.
- Anchor to productsproducts•Product
Connection! non-null The products that are included in the collection.
- Anchor to productsCountproducts•Count
Count The number of products in the collection.
- Anchor to publishedOnCurrentPublicationpublished•Boolean!
On Current Publication non-null Whether the resource is published to the app's publication. For example, the resource might be published to the app's online store channel.
- Anchor to publishedOnPublicationpublished•Boolean!
On Publication non-null Whether the resource is published to a specified publication.
- Anchor to publicationIdpublication•ID!
Id required The ID of the publication to check. For example,
.
Arguments
- Anchor to resourcePublicationsresource•Resource
Publications Publication Connection! non-null The list of resources that are published to a publication.
- Anchor to resourcePublicationsCountresource•Count
Publications Count The number of publications that a resource is published to, without feedback errors.
- Anchor to resourcePublicationsV2resource•Resource
Publications V2 Publication V2Connection! non-null The list of resources that are either published or staged to be published to a publication.
- Anchor to ruleSetrule•Collection
Set Rule Set For a smart (automated) collection, specifies the rules that determine whether a product is included.
- •SEO!non-null
If the default SEO fields for page title and description have been modified, contains the modified information.
- Anchor to sortOrdersort•Collection
Order Sort Order! non-null The order in which the products in the collection are displayed by default in the Shopify admin and in sales channels, such as an online store.
- Anchor to templateSuffixtemplate•String
Suffix The suffix of the Liquid template being used to show the collection in an online store. For example, if the value is
custom
, then the collection is using thecollection.custom.liquid
template. If the value isnull
, then the collection is using the defaultcollection.liquid
template.- Anchor to titletitle•String!non-null
The name of the collection. It's displayed in the Shopify admin and is typically displayed in sales channels, such as an online store.
- Anchor to translationstranslations•[Translation!]!non-null
The published translations associated with the resource.
- Anchor to unpublishedPublicationsunpublished•Publication
Publications Connection! non-null The list of publications that the resource isn't published to.
- Anchor to updatedAtupdated•Date
At Time! non-null The date and time (ISO 8601 format) when the collection was last modified.
- Anchor to metafieldDefinitionsmetafield•Metafield
Definitions Definition Connection! non-nullDeprecated - Anchor to privateMetafieldprivate•Private
Metafield Metafield Deprecated - Anchor to privateMetafieldsprivate•Private
Metafields Metafield Connection! non-nullDeprecated - Anchor to publicationCountpublication•Int!
Count non-nullDeprecated - Anchor to onlyPublishedonly•Boolean
Published Default:true Include only the resource's publications that are published. If false, then return all the resource's publications including future publications.
Arguments
- Anchor to publicationspublications•Collection
Publication Connection! non-nullDeprecated - Anchor to publishedOnChannelpublished•Boolean!
On Channel non-nullDeprecated - Anchor to channelIdchannel•ID!
Id required The ID of the channel to check.
Arguments
- Anchor to publishedOnCurrentChannelpublished•Boolean!
On Current Channel non-nullDeprecated - Anchor to storefrontIdstorefront•Storefront
Id ID! non-nullDeprecated - Anchor to unpublishedChannelsunpublished•Channel
Channels Connection! non-nullDeprecated
- •OBJECT
A comment on an article.
- Anchor to articlearticle•Article
The article associated with the comment.
- •Comment
Author! non-null The comment’s author.
- Anchor to bodybody•String!non-null
The content of the comment.
- Anchor to bodyHtmlbody•HTML!
Html non-null The content of the comment, complete with HTML formatting.
- Anchor to createdAtcreated•Date
At Time! non-null The date and time when the comment was created.
- Anchor to eventsevents•Event
Connection! non-null The paginated list of events associated with the host subject.
- •ID!non-null
A globally-unique ID.
- •String
The IP address of the commenter.
- Anchor to isPublishedis•Boolean!
Published non-null Whether or not the comment is published.
- Anchor to publishedAtpublished•Date
At Time The date and time when the comment was published.
- Anchor to statusstatus•Comment
Status! non-null The status of the comment.
- Anchor to updatedAtupdated•Date
At Time The date and time when the comment was last updated.
- Anchor to userAgentuser•String
Agent The user agent of the commenter.
- •OBJECT
Comment events are generated by staff members of a shop. They are created when a staff member adds a comment to the timeline of an order, draft order, customer, or transfer.
- Anchor to actionaction•String!non-null
The action that occured.
- Anchor to appTitleapp•String
Title The name of the app that created the event.
- Anchor to attachmentsattachments•[Comment
Event Attachment!]! non-null The attachments associated with the comment event.
- Anchor to attributeToAppattribute•Boolean!
To App non-null Whether the event was created by an app.
- Anchor to attributeToUserattribute•Boolean!
To User non-null Whether the event was caused by an admin user.
- •Staff
Member! non-null The name of the user that authored the comment event.
- Anchor to canDeletecan•Boolean!
Delete non-null Whether the comment event can be deleted. If true, then the comment event can be deleted.
- Anchor to canEditcan•Boolean!
Edit non-null Whether the comment event can be edited. If true, then the comment event can be edited.
- Anchor to createdAtcreated•Date
At Time! non-null The date and time when the event was created.
- Anchor to criticalAlertcritical•Boolean!
Alert non-null Whether the event is critical.
- Anchor to editededited•Boolean!non-null
Whether the comment event has been edited. If true, then the comment event has been edited.
- Anchor to embedembed•Comment
Event Embed The object reference associated with the comment event. For example, a product or discount).
- •ID!non-null
A globally-unique ID.
- Anchor to messagemessage•Formatted
String! non-null Human readable text that describes the event.
- Anchor to rawMessageraw•String!
Message non-null The raw body of the comment event.
- Anchor to subjectsubject•Comment
Event Subject The parent subject to which the comment event belongs.
- •OBJECT
Represents information about a company which is also a customer of the shop.
- Anchor to contactRolescontact•Company
Roles Contact Role Connection! non-null The list of roles for the company contacts.
- Anchor to contactscontacts•Company
Contact Connection! non-null The list of contacts in the company.
- Anchor to contactsCountcontacts•Count
Count The number of contacts that belong to the company.
- Anchor to createdAtcreated•Date
At Time! non-null The date and time (ISO 8601 format) at which the company was created in Shopify.
- Anchor to customerSincecustomer•Date
Since Time! non-null The date and time (ISO 8601 format) at which the company became the customer.
- Anchor to defaultCursordefault•String!
Cursor non-null A default cursor that returns the single next record, sorted ascending by ID.
- Anchor to defaultRoledefault•Company
Role Contact Role The role proposed by default for a contact at the company.
- Anchor to draftOrdersdraft•Draft
Orders Order Connection! non-null The list of the company's draft orders.
- Anchor to eventsevents•Event
Connection! non-null The paginated list of events associated with the host subject.
- Anchor to externalIdexternal•String
Id A unique externally-supplied ID for the company.
- Anchor to hasTimelineCommenthas•Boolean!
Timeline Comment non-null Whether the merchant added a timeline comment to the company.
- •ID!non-null
A globally-unique ID.
- Anchor to lifetimeDurationlifetime•String!
Duration non-null The lifetime duration of the company, since it became a customer of the shop. Examples:
2 days
,3 months
,1 year
.- Anchor to locationslocations•Company
Location Connection! non-null The list of locations in the company.
- Anchor to locationsCountlocations•Count
Count The number of locations that belong to the company.
- Anchor to mainContactmain•Company
Contact Contact The main contact for the company.
- Anchor to metafieldmetafield•Metafield
A custom field, including its
namespace
andkey
, that's associated with a Shopify resource for the purposes of adding and storing additional information.- Anchor to metafieldsmetafields•Metafield
Connection! non-null A list of custom fields that a merchant associates with a Shopify resource.
- Anchor to namename•String!non-null
The name of the company.
- Anchor to notenote•String
A note about the company.
- Anchor to ordersorders•Order
Connection! non-null The list of the company's orders.
- Anchor to ordersCountorders•Count
Count The total number of orders placed for this company, across all its locations.
- Anchor to totalSpenttotal•Money
Spent V2! non-null The total amount spent by this company, across all its locations.
- Anchor to updatedAtupdated•Date
At Time! non-null The date and time (ISO 8601 format) at which the company was last modified.
- Anchor to contactCountcontact•Int!
Count non-nullDeprecated - Anchor to metafieldDefinitionsmetafield•Metafield
Definitions Definition Connection! non-nullDeprecated - Anchor to privateMetafieldprivate•Private
Metafield Metafield Deprecated - Anchor to privateMetafieldsprivate•Private
Metafields Metafield Connection! non-nullDeprecated
- •OBJECT
Represents a billing or shipping address for a company location.
- Anchor to address1address1•String!non-null
The first line of the address. Typically the street address or PO Box number.
- Anchor to address2address2•String
The second line of the address. Typically the number of the apartment, suite, or unit.
- Anchor to citycity•String
The name of 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.
- 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 (ISO 8601 format) at which 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 recipient's name 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 values for city, province, and country.
- •ID!non-null
A globally-unique ID.
- Anchor to lastNamelast•String
Name The last name of the recipient.
- Anchor to phonephone•String
A unique phone number for the customer. 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 recipientrecipient•String
The identity of the recipient e.g. 'Receiving Department'.
- Anchor to updatedAtupdated•Date
At Time! non-null The date and time (ISO 8601 format) at which 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
A person that acts on behalf of company associated to a customer.
- Anchor to companycompany•Company!non-null
The company to which the contact belongs.
- Anchor to createdAtcreated•Date
At Time! non-null The date and time (ISO 8601 format) at which the company contact was created at Shopify.
- Anchor to customercustomer•Customer!non-null
The customer associated to this contact.
- Anchor to draftOrdersdraft•Draft
Orders Order Connection! non-null The list of draft orders for the company contact.
- •ID!non-null
A globally-unique ID.
- Anchor to isMainContactis•Boolean!
Main Contact non-null Whether the contact is the main contact of the company.
- Anchor to lifetimeDurationlifetime•String!
Duration non-null The lifetime duration of the company contact, since its creation date on Shopify. Examples:
1 year
,2 months
,3 days
.- Anchor to localelocale•String
The company contact's locale (language).
- Anchor to ordersorders•Order
Connection! non-null The list of orders for the company contact.
- Anchor to roleAssignmentsrole•Company
Assignments Contact Role Assignment Connection! non-null The list of roles assigned to this company contact.
- Anchor to titletitle•String
The company contact's job title.
- Anchor to updatedAtupdated•Date
At Time! non-null The date and time (ISO 8601 format) at which the company contact was last updated.
- •OBJECT
The role for a company contact.
- •ID!non-null
A globally-unique ID.
- Anchor to namename•String!non-null
The name of a role. For example,
admin
orbuyer
.- Anchor to notenote•String
A note for the role.
- •ID!
- •OBJECT
The CompanyContactRoleAssignment describes the company and location associated to a company contact's role.
- Anchor to companycompany•Company!non-null
The company this role assignment belongs to.
- Anchor to companyContactcompany•Company
Contact Contact! non-null The company contact for whom this role is assigned.
- Anchor to companyLocationcompany•Company
Location Location! non-null The company location to which the role is assigned.
- Anchor to createdAtcreated•Date
At Time! non-null The date and time (ISO 8601 format) when the assignment record was created.
- •ID!non-null
A globally-unique ID.
- Anchor to rolerole•Company
Contact Role! non-null The role that's assigned to the company contact.
- Anchor to updatedAtupdated•Date
At Time! non-null The date and time (ISO 8601 format) when the assignment record was last updated.
- •OBJECT
A location or branch of a company that's a customer of the shop. Configuration of B2B relationship, for example prices lists and checkout settings, may be done for a location.
- Anchor to billingAddressbilling•Company
Address Address The address used as billing address for the location.
- Anchor to buyerExperienceConfigurationbuyer•Buyer
Experience Configuration Experience Configuration The configuration for the buyer's B2B checkout.
- Anchor to catalogscatalogs•Catalog
Connection! non-null The list of catalogs associated with the company location.
- Anchor to catalogsCountcatalogs•Count
Count The number of catalogs associated with the company location. Limited to a maximum of 10000 by default.
- Anchor to companycompany•Company!non-null
The company that the company location belongs to.
- Anchor to createdAtcreated•Date
At Time! non-null The date and time (ISO 8601 format) at which the company location was created in Shopify.
- Anchor to currencycurrency•Currency
Code! non-null The location's currency based on the shipping address. If the shipping address is empty, then the value is the shop's primary market.
- Anchor to defaultCursordefault•String!
Cursor non-null A default cursor that returns the single next record, sorted ascending by ID.
- Anchor to draftOrdersdraft•Draft
Orders Order Connection! non-null The list of draft orders for the company location.
- Anchor to eventsevents•Event
Connection! non-null The paginated list of events associated with the host subject.
- Anchor to externalIdexternal•String
Id A unique externally-supplied ID for the company location.
- Anchor to hasTimelineCommenthas•Boolean!
Timeline Comment non-null Whether the merchant added a timeline comment to the company location.
- •ID!non-null
A globally-unique ID.
- Anchor to inCatalogin•Boolean!
Catalog non-null Whether the company location is assigned a specific catalog.
- Anchor to catalogIdcatalog•ID!
Id required The ID of the catalog.
Arguments
- Anchor to localelocale•String
The preferred locale of the company location.
- Anchor to marketmarket•Market!non-null
The market that includes the location's shipping address. If the shipping address is empty, then the value is the shop's primary market.
- Anchor to metafieldmetafield•Metafield
A custom field, including its
namespace
andkey
, that's associated with a Shopify resource for the purposes of adding and storing additional information.- Anchor to metafieldsmetafields•Metafield
Connection! non-null A list of custom fields that a merchant associates with a Shopify resource.
- Anchor to namename•String!non-null
The name of the company location.
- Anchor to notenote•String
A note about the company location.
- Anchor to ordersorders•Order
Connection! non-null The list of orders for the company location.
- Anchor to ordersCountorders•Count
Count The total number of orders placed for the location.
- Anchor to phonephone•String
The phone number of the company location.
- Anchor to roleAssignmentsrole•Company
Assignments Contact Role Assignment Connection! non-null The list of roles assigned to the company location.
- Anchor to shippingAddressshipping•Company
Address Address The address used as shipping address for the location.
- Anchor to staffMemberAssignmentsstaff•Company
Member Assignments Location Staff Member Assignment Connection! non-null The list of staff members assigned to the company location.
- Anchor to totalSpenttotal•Money
Spent V2! non-null The total amount spent by the location.
- Anchor to updatedAtupdated•Date
At Time! non-null The date and time (ISO 8601 format) at which the company location was last modified.
- Anchor to metafieldDefinitionsmetafield•Metafield
Definitions Definition Connection! non-nullDeprecated - Anchor to orderCountorder•Int!
Count non-nullDeprecated - Anchor to privateMetafieldprivate•Private
Metafield Metafield Deprecated - Anchor to privateMetafieldsprivate•Private
Metafields Metafield Connection! non-nullDeprecated - Anchor to taxExemptionstax•[Tax
Exemptions Exemption!]! non-nullDeprecated - Anchor to taxRegistrationIdtax•String
Registration Id Deprecated
- •OBJECT
A list of products with publishing and pricing information associated with company locations.
- Anchor to companyLocationscompany•Company
Locations Location Connection! non-null The company locations associated with the catalog.
- Anchor to companyLocationsCountcompany•Count
Locations Count The number of company locations associated with the catalog.
- •ID!non-null
A globally-unique ID.
- Anchor to operationsoperations•[Resource
Operation!]! non-null Most recent catalog operations.
- Anchor to priceListprice•Price
List List The price list associated with the catalog.
- Anchor to publicationpublication•Publication
A group of products and collections that's published to a catalog.
- Anchor to statusstatus•Catalog
Status! non-null The status of the catalog.
- Anchor to titletitle•String!non-null
The name of the catalog.
- •OBJECT
A representation of store's staff member who is assigned to a company location of the shop. The staff member's actions will be limited to objects associated with the assigned company location.
- Anchor to companyLocationcompany•Company
Location Location! non-null The company location the staff member is assigned to.
- •ID!non-null
A globally-unique ID.
- Anchor to staffMemberstaff•Staff
Member Member! non-null Represents the data of a staff member who's assigned to a company location.
- •OBJECT
Represents information about a customer of the shop, such as the customer's contact details, their order history, and whether they've agreed to receive marketing material by email.
Caution: Only use this data if it's required for your app's functionality. Shopify will restrict access to scopes for apps that don't have a legitimate use for the associated data.
- Anchor to addressesaddresses•[Mailing
Address!]! non-null A list of addresses associated with the customer.
- Anchor to addressesV2addresses•Mailing
V2 Address Connection! non-null The addresses associated with the customer.
- Anchor to amountSpentamount•Money
Spent V2! non-null The total amount that the customer has spent on orders in their lifetime.
- Anchor to canDeletecan•Boolean!
Delete non-null Whether the merchant can delete the customer from their store.
A customer can be deleted from a store only if they haven't yet made an order. After a customer makes an order, they can't be deleted from a store.
- Anchor to companyContactProfilescompany•[Company
Contact Profiles Contact!]! non-null A list of the customer's company contact profiles.
- Anchor to createdAtcreated•Date
At Time! non-null The date and time when the customer was added to the store.
- Anchor to dataSaleOptOutdata•Boolean!
Sale Opt Out non-null Whether the customer has opted out of having their data sold.
- Anchor to defaultAddressdefault•Mailing
Address Address The default address associated with the customer.
- Anchor to displayNamedisplay•String!
Name non-null The full name of the customer, based on the values for first_name and last_name. If the first_name and last_name are not available, then this falls back to the customer's email address, and if that is not available, the customer's phone number.
- Anchor to eventsevents•Event
Connection! non-null A list of events associated with the customer.
- Anchor to firstNamefirst•String
Name The customer's first name.
- •ID!non-null
A globally-unique ID.
- Anchor to imageimage•Image!non-null
The image associated with the customer.
- Anchor to lastNamelast•String
Name The customer's last name.
- Anchor to lastOrderlast•Order
Order The customer's last order.
- Anchor to legacyResourceIdlegacy•Unsigned
Resource Id Int64! non-null The ID of the corresponding resource in the REST Admin API.
- Anchor to lifetimeDurationlifetime•String!
Duration non-null The amount of time since the customer was first added to the store.
Example: 'about 12 years'.
- Anchor to localelocale•String!non-null
The customer's locale.
- Anchor to marketmarket•Market
The market that includes the customer’s default address.
- Anchor to mergeablemergeable•Customer
Mergeable! non-null Whether the customer can be merged with another customer.
- Anchor to metafieldmetafield•Metafield
A custom field, including its
namespace
andkey
, that's associated with a Shopify resource for the purposes of adding and storing additional information.- Anchor to metafieldsmetafields•Metafield
Connection! non-null A list of custom fields that a merchant associates with a Shopify resource.
- Anchor to multipassIdentifiermultipass•String
Identifier A unique identifier for the customer that's used with Multipass login.
- Anchor to notenote•String
A note about the customer.
- Anchor to numberOfOrdersnumber•Unsigned
Of Orders Int64! non-null The number of orders that the customer has made at the store in their lifetime.
- Anchor to ordersorders•Order
Connection! non-null A list of the customer's orders.
- Anchor to paymentMethodspayment•Customer
Methods Payment Method Connection! non-null A list of the customer's payment methods.
- Anchor to productSubscriberStatusproduct•Customer
Subscriber Status Product Subscriber Status! non-null Possible subscriber states of a customer defined by their subscription contracts.
- Anchor to statestate•Customer
State! non-null The state of the customer's account with the shop.
Please note that this only meaningful when Classic Customer Accounts is active.
- Anchor to statisticsstatistics•Customer
Statistics! non-null The statistics for a given customer.
- Anchor to storeCreditAccountsstore•Store
Credit Accounts Credit Account Connection! non-null Returns a list of store credit accounts that belong to the owner resource. A store credit account owner can hold multiple accounts each with a different currency.
- Anchor to subscriptionContractssubscription•Subscription
Contracts Contract Connection! non-null A list of the customer's subscription contracts.
- •[String!]!non-null
A comma separated list of tags that have been added to the customer.
- Anchor to taxExempttax•Boolean!
Exempt non-null Whether the customer is exempt from being charged taxes on their orders.
- Anchor to taxExemptionstax•[Tax
Exemptions Exemption!]! non-null The list of tax exemptions applied to the customer.
- Anchor to updatedAtupdated•Date
At Time! non-null The date and time when the customer was last updated.
- Anchor to verifiedEmailverified•Boolean!
Email non-null Whether the customer has verified their email address. Defaults to
true
if the customer is created through the Shopify admin or API.- Anchor to emailemail•StringDeprecated
- Anchor to emailMarketingConsentemail•Customer
Marketing Consent Email Marketing Consent State Deprecated - Anchor to hasTimelineCommenthas•Boolean!
Timeline Comment non-nullDeprecated - Anchor to metafieldDefinitionsmetafield•Metafield
Definitions Definition Connection! non-nullDeprecated - Anchor to phonephone•StringDeprecated
- Anchor to privateMetafieldprivate•Private
Metafield Metafield Deprecated - Anchor to privateMetafieldsprivate•Private
Metafields Metafield Connection! non-nullDeprecated - Anchor to smsMarketingConsentsms•Customer
Marketing Consent Sms Marketing Consent State Deprecated - Anchor to unsubscribeUrlunsubscribe•URL!
Url non-nullDeprecated - Anchor to validEmailAddressvalid•Boolean!
Email Address non-nullDeprecated
- •OBJECT
An app extension page for the customer account navigation menu.
- Anchor to appExtensionUuidapp•String
Extension Uuid The UUID of the app extension.
- Anchor to defaultCursordefault•String!
Cursor non-null A default cursor that returns the single next record, sorted ascending by ID.
- Anchor to handlehandle•String!non-null
A unique, human-friendly string for the customer account page.
- •ID!non-null
The unique ID for the customer account page.
- Anchor to titletitle•String!non-null
The title of the customer account page.
- •OBJECT
A native page for the customer account navigation menu.
- Anchor to defaultCursordefault•String!
Cursor non-null A default cursor that returns the single next record, sorted ascending by ID.
- Anchor to handlehandle•String!non-null
A unique, human-friendly string for the customer account page.
- •ID!non-null
The unique ID for the customer account page.
- Anchor to pageTypepage•Customer
Type Account Native Page Page Type! non-null The type of customer account native page.
- Anchor to titletitle•String!non-null
The title of the customer account page.
- •OBJECT
A customer's payment method.
- Anchor to customercustomer•Customer
The customer to whom the payment method belongs.
- •ID!non-null
The ID of this payment method.
- Anchor to instrumentinstrument•Customer
Payment Instrument The instrument for this payment method.
- Anchor to revokedAtrevoked•Date
At Time The time that the payment method was revoked.
- Anchor to revokedReasonrevoked•Customer
Reason Payment Method Revocation Reason The revocation reason for this payment method.
- Anchor to subscriptionContractssubscription•Subscription
Contracts Contract Connection! non-null List Subscription Contracts.
- •OBJECT
A job to determine a list of members, such as customers, that are associated with an individual segment.
- Anchor to currentCountcurrent•Int!
Count non-null The current total number of members in a given segment.
- Anchor to donedone•Boolean!non-null
This indicates if the job is still queued or has been run.
- •ID!non-null
A globally-unique ID that's returned when running an asynchronous mutation.
- •OBJECT
Represents a customer's session visiting a shop's online store, including information about the marketing activity attributed to starting the session.
- •ID!non-null
A globally-unique ID.
- Anchor to landingPagelanding•URL
Page URL of the first page the customer landed on for the session.
- Anchor to landingPageHtmllanding•HTML
Page Html Landing page information with URL linked in HTML. For example, the first page the customer visited was store.myshopify.com/products/1.
- Anchor to marketingEventmarketing•Marketing
Event Event Represent actions taken by an app, on behalf of a merchant, to market Shopify resources such as products, collections, and discounts.
- Anchor to occurredAtoccurred•Date
At Time! non-null The date and time when the customer's session occurred.
- Anchor to referralCodereferral•String
Code Marketing referral code from the link that the customer clicked to visit the store. Supports the following URL attributes: ref, source, or r. For example, if the URL is myshopifystore.com/products/slide?ref=j2tj1tn2, then this value is j2tj1tn2.
- Anchor to referralInfoHtmlreferral•Formatted
Info Html String! non-null Referral information with URLs linked in HTML.
- Anchor to referrerUrlreferrer•URL
Url Webpage where the customer clicked a link that sent them to the online store. For example, https://randomblog.com/page1 or android-app://com.google.android.gm.
- Anchor to sourcesource•String!non-null
Source from which the customer visited the store, such as a platform (Facebook, Google), email, direct, a website domain, QR code, or unknown.
- Anchor to sourceDescriptionsource•String
Description Describes the source explicitly for first or last session.
- Anchor to sourceTypesource•Marketing
Type Tactic Type of marketing tactic.
- Anchor to utmParametersutm•UTMParameters
Parameters A set of UTM parameters gathered from the URL parameters of the referrer.
- •ID!
- •OBJECT
A carrier service (also known as a carrier calculated service or shipping service) provides real-time shipping rates to Shopify. Some common carrier services include Canada Post, FedEx, UPS, and USPS. The term carrier is often used interchangeably with the terms shipping company and rate provider.
Using the CarrierService resource, you can add a carrier service to a shop and then provide a list of applicable shipping rates at checkout. You can even use the cart data to adjust shipping rates and offer shipping discounts based on what is in the customer's cart.
Requirements for accessing the CarrierService resource
To access the CarrierService resource, add the
permission to your app's requested scopes. For more information, see API access scopes.
Your app's request to create a carrier service will fail unless the store installing your carrier service meets one of the following requirements:
- It's on the Advanced Shopify plan or higher.
- It's on the Shopify plan with yearly billing, or the carrier service feature has been added to the store for a monthly fee. For more information, contact Shopify Support.
- It's a development store.
NoteIf a store changes its Shopify plan, then the store's association with a carrier service is deactivated if the store no long meets one of the requirements above.
Providing shipping rates to Shopify
When adding a carrier service to a store, you need to provide a POST endpoint rooted in the
property where Shopify can retrieve applicable shipping rates. The callback URL should be a public endpoint that expects these requests from Shopify.
Example shipping rate request sent to a carrier service
{"rate": {"origin": {"country": "CA","postal_code": "K2P1L4","province": "ON","city": "Ottawa","name": null,"address1": "150 Elgin St.","address2": "","address3": null,"phone": null,"fax": null,"email": null,"address_type": null,"company_name": "Jamie D's Emporium"},"destination": {"country": "CA","postal_code": "K1M1M4","province": "ON","city": "Ottawa","name": "Bob Norman","address1": "24 Sussex Dr.","address2": "","address3": null,"phone": null,"fax": null,"email": null,"address_type": null,"company_name": null},"items": [{"name": "Short Sleeve T-Shirt","sku": "","quantity": 1,"grams": 1000,"price": 1999,"vendor": "Jamie D's Emporium","requires_shipping": true,"taxable": true,"fulfillment_service": "manual","properties": null,"product_id": 48447225880,"variant_id": 258644705304}],"currency": "USD","locale": "en"}}Example response
{"rates": [{"service_name": "canadapost-overnight","service_code": "ON","total_price": "1295","description": "This is the fastest option by far","currency": "CAD","min_delivery_date": "2013-04-12 14:48:45 -0400","max_delivery_date": "2013-04-12 14:48:45 -0400"},{"service_name": "fedex-2dayground","service_code": "2D","total_price": "2934","currency": "USD","min_delivery_date": "2013-04-12 14:48:45 -0400","max_delivery_date": "2013-04-12 14:48:45 -0400"},{"service_name": "fedex-priorityovernight","service_code": "1D","total_price": "3587","currency": "USD","min_delivery_date": "2013-04-12 14:48:45 -0400","max_delivery_date": "2013-04-12 14:48:45 -0400"}]}The
address3
,fax
,, and
fields are returned by specific ActiveShipping providers. For API-created carrier services, you should use only the following shipping address fields:
address1
address2
city
zip
province
country
Other values remain as
null
and are not sent to the callback URL.Response fields
When Shopify requests shipping rates using your callback URL, the response object
rates
must be a JSON array of objects with the following fields. Required fields must be included in the response for the carrier service integration to work properly.Field Required Description Yes The name of the rate, which customers see at checkout. For example: Expedited Mail
.description
Yes A description of the rate, which customers see at checkout. For example: Includes tracking and insurance
.Yes A unique code associated with the rate. For example: .
currency
Yes The currency of the shipping rate. Yes The total price expressed in subunits. If the currency doesn't use subunits, then the value must be multiplied by 100. For example: for 5.00 CAD,
for 1000 JPY.
No Whether the customer must provide a phone number at checkout. No The earliest delivery date for the displayed rate. No The latest delivery date for the displayed rate to still be valid. Special conditions
- To indicate that this carrier service cannot handle this shipping request, return an empty array and any successful (20x) HTTP code.
- To force backup rates instead, return a 40x or 50x HTTP code with any content. A good choice is the regular 404 Not Found code.
- Redirects (30x codes) will only be followed for the same domain as the original callback URL. Attempting to redirect to a different domain will trigger backup rates.
- There is no retry mechanism. The response must be successful on the first try, within the time budget listed below. Timeouts or errors will trigger backup rates.
Response Timeouts
The read timeout for rate requests are dynamic, based on the number of requests per minute (RPM). These limits are applied to each shop-app pair. The timeout values are as follows.
RPM Range Timeout Under 1500 10s 1500 to 3000 5s Over 3000 3s NoteThese values are upper limits and should not be interpretted as a goal to develop towards. Shopify is constantly evaluating the performance of the platform and working towards improving resilience as well as app capabilities. As such, these numbers may be adjusted outside of our normal versioning timelines.
Server-side caching of requests
Shopify provides server-side caching to reduce the number of requests it makes. Any shipping rate request that identically matches the following fields will be retrieved from Shopify's cache of the initial response:
- variant IDs
- default shipping box weight and dimensions
- variant quantities
- carrier service ID
- origin address
- destination address
- item weights and signatures
If any of these fields differ, or if the cache has expired since the original request, then new shipping rates are requested. The cache expires 15 minutes after rates are successfully returned. If an error occurs, then the cache expires after 30 seconds.
- Anchor to activeactive•Boolean!non-null
Whether the carrier service is active.
- Anchor to availableServicesForCountriesavailable•[Delivery
Services For Countries Available Service!]! non-null The list of services offered for given destinations.
- Anchor to callbackUrlcallback•URL
Url The URL endpoint that Shopify needs to retrieve shipping rates.
- Anchor to formattedNameformatted•String
Name The properly formatted name of the shipping service provider, ready to display.
- Anchor to iconicon•Image!non-null
The logo of the service provider.
- •ID!non-null
A globally-unique ID.
- Anchor to namename•String
The name of the shipping service provider.
- Anchor to supportsServiceDiscoverysupports•Boolean!
Service Discovery non-null Whether merchants are able to send dummy data to your service through the Shopify admin to see shipping rate examples.
- •OBJECT
A condition that must pass for a delivery method definition to be applied to an order.
- Anchor to conditionCriteriacondition•Delivery
Criteria Condition Criteria! non-null The value (weight or price) that the condition field is compared to.
- Anchor to fieldfield•Delivery
Condition Field! non-null The field to compare the criterion value against, using the operator.
- •ID!non-null
A globally-unique ID.
- Anchor to operatoroperator•Delivery
Condition Operator! non-null The operator to compare the field and criterion value.
- •OBJECT
A country that is used to define a shipping zone.
- Anchor to codecode•Delivery
Country Code Or Rest Of World! non-null A two-letter country code in ISO 3166-1 alpha-2 standard. It also includes a flag indicating whether the country should be a part of the 'Rest Of World' shipping zone.
- •ID!non-null
A globally-unique ID.
- Anchor to namename•String!non-null
The full name of the country.
- Anchor to provincesprovinces•[Delivery
Province!]! non-null The list of regions associated with this country.
- Anchor to translatedNametranslated•String!
Name non-null The translated name of the country. The translation returned is based on the system's locale.
- •OBJECT
A delivery customization.
- Anchor to enabledenabled•Boolean!non-null
The enabled status of the delivery customization.
- Anchor to errorHistoryerror•Functions
History Error History The error history on the most recent version of the delivery customization.
- Anchor to functionIdfunction•String!
Id non-null The ID of the Shopify Function implementing the delivery customization.
- •ID!non-null
A globally-unique ID.
- Anchor to metafieldmetafield•Metafield
A custom field, including its
namespace
andkey
, that's associated with a Shopify resource for the purposes of adding and storing additional information.- Anchor to metafieldsmetafields•Metafield
Connection! non-null A list of custom fields that a merchant associates with a Shopify resource.
- Anchor to shopifyFunctionshopify•Shopify
Function Function! non-null The Shopify Function implementing the delivery customization.
- Anchor to titletitle•String!non-null
The title of the delivery customization.
- Anchor to metafieldDefinitionsmetafield•Metafield
Definitions Definition Connection! non-nullDeprecated - Anchor to privateMetafieldprivate•Private
Metafield Metafield Deprecated - Anchor to privateMetafieldsprivate•Private
Metafields Metafield Connection! non-nullDeprecated
- •OBJECT
A location group is a collection of locations. They share zones and delivery methods across delivery profiles.
- •ID!non-null
A globally-unique ID.
- Anchor to locationslocations•Location
Connection! non-null A list of all locations that are part of this location group.
- Anchor to locationsCountlocations•Count
Count A count of all locations that are part of this location group.
- •ID!
- •OBJECT
The delivery method used by a fulfillment order.
- Anchor to additionalInformationadditional•Delivery
Information Method Additional Information The Additional information to consider when performing the delivery.
- Anchor to brandedPromisebranded•Delivery
Promise Branded Promise The branded promise that was presented to the buyer during checkout. For example: Shop Promise.
- •ID!non-null
A globally-unique ID.
- Anchor to maxDeliveryDateTimemax•Date
Delivery Date Time Time The latest delivery date and time when the fulfillment is expected to arrive at the buyer's location.
- Anchor to methodTypemethod•Delivery
Type Method Type! non-null The type of the delivery method.
- Anchor to minDeliveryDateTimemin•Date
Delivery Date Time Time The earliest delivery date and time when the fulfillment is expected to arrive at the buyer's location.
- Anchor to presentedNamepresented•String
Name The name of the delivery option that was presented to the buyer during checkout.
- Anchor to serviceCodeservice•String
Code A reference to the shipping method.
- Anchor to sourceReferencesource•String
Reference Source reference is promise provider specific data associated with delivery promise.
- •OBJECT
A method definition contains the delivery rate and the conditions that must be met for the method to be applied.
- Anchor to activeactive•Boolean!non-null
Whether this method definition is active.
- Anchor to descriptiondescription•String
The description of the method definition. Only available on shipping rates that are custom.
- •ID!non-null
A globally-unique ID.
- Anchor to methodConditionsmethod•[Delivery
Conditions Condition!]! non-null The method conditions that must pass for this method definition to be applied to an order.
- Anchor to namename•String!non-null
The name of the method definition.
- Anchor to rateProviderrate•Delivery
Provider Rate Provider! non-null The provided rate for this method definition, from a rate definition or participant.
- •OBJECT
A participant defines carrier-calculated rates for shipping services with a possible merchant-defined fixed fee or a percentage-of-rate fee.
- Anchor to adaptToNewServicesFlagadapt•Boolean!
To New Services Flag non-null Whether to display new shipping services automatically to the customer when the service becomes available.
- Anchor to carrierServicecarrier•Delivery
Service Carrier Service! non-null The carrier used for this participant.
- Anchor to fixedFeefixed•Money
Fee V2 The merchant-defined fixed fee for this participant.
- •ID!non-null
A globally-unique ID.
- Anchor to participantServicesparticipant•[Delivery
Services Participant Service!]! non-null The carrier-specific services offered by the participant, and whether each service is active.
- Anchor to percentageOfRateFeepercentage•Float!
Of Rate Fee non-null The merchant-defined percentage-of-rate fee for this participant.
- •OBJECT
A shipping profile. In Shopify, a shipping profile is a set of shipping rates scoped to a set of products or variants that can be shipped from selected locations to zones. Learn more about building with delivery profiles.
- Anchor to activeMethodDefinitionsCountactive•Int!
Method Definitions Count non-null The number of active shipping rates for the profile.
- Anchor to defaultdefault•Boolean!non-null
Whether this is the default profile.
- •ID!non-null
A globally-unique ID.
- Anchor to legacyModelegacy•Boolean!
Mode non-null Whether this shop has enabled legacy compatibility mode for delivery profiles.
- Anchor to locationsWithoutRatesCountlocations•Int!
Without Rates Count non-null The number of locations without rates defined.
- Anchor to namename•String!non-null
The name of the delivery profile.
- Anchor to originLocationCountorigin•Int!
Location Count non-null The number of active origin locations for the profile.
- Anchor to productVariantsCountproduct•Count
Variants Count How many product variants are in this profile.
- Anchor to profileItemsprofile•Delivery
Items Profile Item Connection! non-null The products and variants associated with this profile.
- Anchor to profileLocationGroupsprofile•[Delivery
Location Groups Profile Location Group!]! non-null The location groups and associated zones using this profile.
- Anchor to sellingPlanGroupsselling•Selling
Plan Groups Plan Group Connection! non-null Selling plan groups associated with the specified delivery profile.
- Anchor to unassignedLocationsunassigned•[Location!]!
Locations non-null List of locations that haven't been assigned to a location group for this profile.
- Anchor to unassignedLocationsPaginatedunassigned•Location
Locations Paginated Connection! non-null List of locations that have not been assigned to a location group for this profile.
- Anchor to zoneCountryCountzone•Int!
Country Count non-null The number of countries with active rates to deliver to.
- Anchor to productVariantsCountV2product•Delivery
Variants Count V2 Product Variants Count! non-nullDeprecated
- •OBJECT
A product and the subset of associated variants that are part of this delivery profile.
- •ID!non-null
A globally-unique ID.
- Anchor to productproduct•Product!non-null
A product associated with this profile.
- Anchor to variantsvariants•Product
Variant Connection! non-null The product variants associated with this delivery profile.
- •ID!
- •OBJECT
A delivery promise provider. Currently restricted to select approved delivery promise partners.
- Anchor to activeactive•Boolean!non-null
Whether the delivery promise provider is active. Defaults to
true
when creating a provider.- Anchor to fulfillmentDelayfulfillment•Int
Delay The number of seconds to add to the current time as a buffer when looking up delivery promises. Represents how long the shop requires before releasing an order to the fulfillment provider.
- •ID!non-null
A globally-unique ID.
- Anchor to locationlocation•Location!non-null
The location associated with this delivery promise provider.
- Anchor to timeZonetime•String!
Zone non-null The time zone to be used for interpreting day of week and cutoff times in delivery schedules when looking up delivery promises.
- •OBJECT
A region that is used to define a shipping zone.
- Anchor to codecode•String!non-null
The code of the region.
- •ID!non-null
A globally-unique ID.
- Anchor to namename•String!non-null
The full name of the region.
- Anchor to translatedNametranslated•String!
Name non-null The translated name of the region. The translation returned is based on the system's locale.
- •OBJECT
The merchant-defined rate of the DeliveryMethodDefinition.
- •ID!non-null
A globally-unique ID.
- Anchor to priceprice•Money
V2! non-null The price of this rate.
- •ID!
- •OBJECT
A zone is a group of countries that have the same shipping rates. Customers can order products from a store only if they choose a shipping destination that's included in one of the store's zones.
- Anchor to countriescountries•[Delivery
Country!]! non-null The list of countries within the zone.
- •ID!non-null
A globally-unique ID.
- Anchor to namename•String!non-null
The name of the zone.
- •OBJECT
The
object lets you manage buy X get Y discounts (BXGY) that are automatically applied on a cart and at checkout. BXGY discounts incentivize customers by offering them additional items at a discounted price or for free when they purchase a specified quantity of items.
The
object stores information about automatic BXGY discounts that apply to specific products and variants, collections, or all items in a cart.
Learn more about working with Shopify's discount model, including limitations and considerations.
Note- Anchor to asyncUsageCountasync•Int!
Usage Count non-null The number of times that the discount has been used. For example, if a "Buy 3, Get 1 Free" t-shirt discount is automatically applied in 200 transactions, then the discount has been used 200 times. This value is updated asynchronously. As a result, it might be lower than the actual usage count until the asynchronous process is completed.
- Anchor to combinesWithcombines•Discount
With Combines With! non-null The discount classes that you can use in combination with Shopify discount types.
- Anchor to createdAtcreated•Date
At Time! non-null The date and time when the discount was created.
- Anchor to customerBuyscustomer•Discount
Buys Customer Buys! non-null The items eligible for the discount and the required quantity of each to receive the discount.
- Anchor to customerGetscustomer•Discount
Gets Customer Gets! non-null The items in the order that qualify for the discount, their quantities, and the total value of the discount.
- Anchor to endsAtends•Date
At Time The date and time when the discount expires and is no longer available to customers. For discounts without a fixed expiration date, specify
null
.- Anchor to eventsevents•Event
Connection! non-null The paginated list of events associated with the host subject.
- Anchor to startsAtstarts•Date
At Time! non-null The date and time when the discount becomes active and is available to customers.
- Anchor to statusstatus•Discount
Status! non-null The status of the discount that describes its availability, expiration, or pending activation.
- Anchor to summarysummary•String!non-null
A detailed explanation of what the discount is, who can use it, when and where it applies, and any associated rules or limitations.
- Anchor to titletitle•String!non-null
The discount's name that displays to merchants in the Shopify admin and to customers.
- Anchor to updatedAtupdated•Date
At Time! non-null The date and time when the discount was updated.
- Anchor to usesPerOrderLimituses•Int
Per Order Limit The maximum number of times that the discount can be applied to an order.
- Anchor to discountClassdiscount•Merchandise
Class Discount Class! non-nullDeprecated - •ID!non-nullDeprecated
- Anchor to usageCountusage•Int!
Count non-nullDeprecated
- •OBJECT
The
object enables you to manage automatic discounts that are applied when an order meets specific criteria. You can create amount off, free shipping, or buy X get Y automatic discounts. For example, you can offer customers a free shipping discount that applies when conditions are met. Or you can offer customers a buy X get Y discount that's automatically applied when customers spend a specified amount of money, or a specified quantity of products.
Learn more about working with Shopify's discount model, including related queries, mutations, limitations, and considerations.
- Anchor to automaticDiscountautomatic•Discount
Discount Automatic! non-null A discount that's applied automatically when an order meets specific criteria. Learn more about automatic discounts.
- Anchor to eventsevents•Event
Connection! non-null The paginated list of events associated with the host subject.
- •ID!non-null
A globally-unique ID.
- Anchor to metafieldmetafield•Metafield
A custom field, including its
namespace
andkey
, that's associated with a Shopify resource for the purposes of adding and storing additional information.- Anchor to metafieldsmetafields•Metafield
Connection! non-null A list of custom fields that a merchant associates with a Shopify resource.
- Anchor to metafieldDefinitionsmetafield•Metafield
Definitions Definition Connection! non-nullDeprecated - Anchor to privateMetafieldprivate•Private
Metafield Metafield Deprecated - Anchor to privateMetafieldsprivate•Private
Metafields Metafield Connection! non-nullDeprecated
- •OBJECT
The
object enables you to manage code discounts that are applied when customers enter a code at checkout. For example, you can offer discounts where customers have to enter a code to redeem an amount off discount on products, variants, or collections in a store. Or, you can offer discounts where customers have to enter a code to get free shipping. Merchants can create and share discount codes individually with customers.
Learn more about working with Shopify's discount model, including related queries, mutations, limitations, and considerations.
- Anchor to codeDiscountcode•Discount
Discount Code! non-null The underlying code discount object.
- Anchor to eventsevents•Event
Connection! non-null The paginated list of events associated with the host subject.
- •ID!non-null
A globally-unique ID.
- Anchor to metafieldmetafield•Metafield
A custom field, including its
namespace
andkey
, that's associated with a Shopify resource for the purposes of adding and storing additional information.- Anchor to metafieldsmetafields•Metafield
Connection! non-null A list of custom fields that a merchant associates with a Shopify resource.
- Anchor to metafieldDefinitionsmetafield•Metafield
Definitions Definition Connection! non-nullDeprecated - Anchor to privateMetafieldprivate•Private
Metafield Metafield Deprecated - Anchor to privateMetafieldsprivate•Private
Metafields Metafield Connection! non-nullDeprecated
- •OBJECT
The
object enables you to manage discounts, which are applied at checkout or on a cart.
Discounts are a way for merchants to promote sales and special offers, or as customer loyalty rewards. Discounts can apply to orders, products, or shipping, and can be either automatic or code-based. For example, you can offer customers a buy X get Y discount that's automatically applied when purchases meet specific criteria. Or, you can offer discounts where customers have to enter a code to redeem an amount off discount on products, variants, or collections in a store.
Learn more about working with Shopify's discount model, including related mutations, limitations, and considerations.
- Anchor to discountdiscount•Discount!non-null
A discount that's applied at checkout or on cart.
Discounts can be automatic or code-based.
- Anchor to eventsevents•Event
Connection! non-null The paginated list of events associated with the host subject.
- •ID!non-null
A globally-unique ID.
- Anchor to metafieldmetafield•Metafield
A custom field, including its
namespace
andkey
, that's associated with a Shopify resource for the purposes of adding and storing additional information.- Anchor to metafieldsmetafields•Metafield
Connection! non-null A list of custom fields that a merchant associates with a Shopify resource.
- Anchor to metafieldDefinitionsmetafield•Metafield
Definitions Definition Connection! non-nullDeprecated - Anchor to privateMetafieldprivate•Private
Metafield Metafield Deprecated - Anchor to privateMetafieldsprivate•Private
Metafields Metafield Connection! non-nullDeprecated
- •OBJECT
The properties and status of a bulk discount redeem code creation operation.
- Anchor to codescodes•Discount
Redeem Code Bulk Creation Code Connection! non-null The result of each code creation operation associated with the bulk creation operation including any errors that might have occurred during the operation.
- Anchor to codesCountcodes•Int!
Count non-null The number of codes to create.
- Anchor to createdAtcreated•Date
At Time! non-null The date and time when the bulk creation was created.
- Anchor to discountCodediscount•Discount
Code Code Node The code discount associated with the created codes.
- Anchor to donedone•Boolean!non-null
Whether the bulk creation is still queued (
false
) or has been run (true
).- Anchor to failedCountfailed•Int!
Count non-null The number of codes that weren't created successfully.
- •ID!non-null
A globally-unique ID.
- Anchor to importedCountimported•Int!
Count non-null The number of codes created successfully.
- •OBJECT
A unique string that represents 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-null
A globally-unique ID.
- Anchor to localizationlocalization•Domain
Localization The localization of the domain, if the domain doesn't redirect.
- Anchor to marketWebPresencemarket•Market
Web Presence Web Presence The web presence of the domain.
- Anchor to sslEnabledssl•Boolean!
Enabled non-null Whether SSL is enabled.
- •URL!non-null
The URL of the domain (for example,
https://example.com
).
- •OBJECT
An order that a merchant creates on behalf of a customer. Draft orders are useful for merchants that need to do the following tasks:
- Create new orders for sales made by phone, in person, by chat, or elsewhere. When a merchant accepts payment for a draft order, an order is created.
- Send invoices to customers to pay with a secure checkout link.
- Use custom items to represent additional costs or products that aren't displayed in a shop's inventory.
- Re-create orders manually from active sales channels.
- Sell products at discount or wholesale rates.
- Take pre-orders.
For draft orders in multiple currencies
is the source of truth for what a customer is going to be charged and
is an estimate of what the merchant might receive in their shop currency.
Caution: Only use this data if it's required for your app's functionality. Shopify will restrict access to scopes for apps that don't have a legitimate use for the associated data.
Draft orders created on or after April 1, 2025 will be automatically purged after one year of inactivity.
- Anchor to acceptAutomaticDiscountsaccept•Boolean
Automatic Discounts Whether or not to accept automatic discounts on the draft order during calculation. If false, only discount codes and custom draft order discounts (see
) will be applied. If true, eligible automatic discounts will be applied in addition to discount codes and custom draft order discounts.
- Anchor to allowDiscountCodesInCheckoutallow•Boolean!
Discount Codes In Checkout non-null Whether discount codes are allowed during checkout of this draft order.
- Anchor to appliedDiscountapplied•Draft
Discount Order Applied Discount The custom order-level discount applied.
- Anchor to billingAddressbilling•Mailing
Address Address The billing address of the customer.
- Anchor to billingAddressMatchesShippingAddressbilling•Boolean!
Address Matches Shipping Address non-null Whether the billing address matches the shipping address.
- Anchor to completedAtcompleted•Date
At Time The date and time when the draft order was converted to a new order, and had it's status changed to Completed.
- 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 shop currency used for calculation.
- Anchor to customAttributescustom•[Attribute!]!
Attributes non-null The custom information added to the draft order on behalf of the customer.
- Anchor to customercustomer•Customer
The customer who will be sent an invoice.
- Anchor to defaultCursordefault•String!
Cursor non-null A default cursor that returns the single next record, sorted ascending by ID.
- Anchor to discountCodesdiscount•[String!]!
Codes non-null All discount codes applied.
- Anchor to emailemail•String
The email address of the customer, which is used to send notifications.
- Anchor to eventsevents•Event
Connection! non-null The list of events associated with the draft order.
- Anchor to hasTimelineCommenthas•Boolean!
Timeline Comment non-null Whether the merchant has added timeline comments to the draft order.
- •ID!non-null
A globally-unique ID.
- Anchor to invoiceEmailTemplateSubjectinvoice•String!
Email Template Subject non-null The subject defined for the draft invoice email template.
- Anchor to invoiceSentAtinvoice•Date
Sent At Time The date and time when the invoice was last emailed to the customer.
- Anchor to invoiceUrlinvoice•URL
Url The link to the checkout, which is sent to the customer in the invoice email.
- Anchor to legacyResourceIdlegacy•Unsigned
Resource Id Int64! non-null The ID of the corresponding resource in the REST Admin API.
- Anchor to lineItemsline•Draft
Items Order Line Item Connection! non-null The list of the line items in the draft order.
- Anchor to lineItemsSubtotalPriceline•Money
Items Subtotal Price Bag! non-null A subtotal of the line items and corresponding discounts, excluding include shipping charges, shipping discounts, taxes, or order discounts.
- Anchor to metafieldmetafield•Metafield
A custom field, including its
namespace
andkey
, that's associated with a Shopify resource for the purposes of adding and storing additional information.- Anchor to metafieldsmetafields•Metafield
Connection! non-null A list of custom fields that a merchant associates with a Shopify resource.
- Anchor to namename•String!non-null
The identifier for the draft order, which is unique within the store. For example, #D1223.
- Anchor to note2note2•String
The text from an optional note attached to the draft order.
- Anchor to orderorder•Order
The order that was created from the draft order.
- Anchor to paymentTermspayment•Payment
Terms Terms The associated payment terms for this draft order.
- Anchor to phonephone•String
The assigned phone number.
- Anchor to platformDiscountsplatform•[Draft
Discounts Order Platform Discount!]! non-null The list of platform discounts applied.
- Anchor to poNumberpo•String
Number The purchase order number.
- Anchor to presentmentCurrencyCodepresentment•Currency
Currency Code Code! non-null The payment currency used for calculation.
- Anchor to purchasingEntitypurchasing•Purchasing
Entity Entity The purchasing entity.
- Anchor to readyready•Boolean!non-null
Whether the draft order is ready and can be completed. Draft orders might have asynchronous operations that can take time to finish.
- Anchor to reserveInventoryUntilreserve•Date
Inventory Until Time The time after which inventory will automatically be restocked.
- Anchor to shippingAddressshipping•Mailing
Address Address The shipping address of the customer.
- Anchor to shippingLineshipping•Shipping
Line Line The line item containing the shipping information and costs.
- Anchor to statusstatus•Draft
Order Status! non-null The status of the draft order.
- Anchor to subtotalPriceSetsubtotal•Money
Price Set Bag! non-null The subtotal, of the line items and their discounts, excluding shipping charges, shipping discounts, and taxes.
- •[String!]!non-null
The comma separated list of tags associated with the draft order. Updating
tags
overwrites any existing tags that were previously added to the draft order. To add new tags without overwriting existing tags, use the tagsAdd mutation.- Anchor to taxesIncludedtaxes•Boolean!
Included non-null Whether the line item prices include taxes.
- Anchor to taxExempttax•Boolean!
Exempt non-null Whether the draft order is tax exempt.
- Anchor to taxLinestax•[Tax
Lines Line!]! non-null The list of of taxes lines charged for each line item and shipping line.
- Anchor to totalDiscountsSettotal•Money
Discounts Set Bag! non-null Total discounts.
- Anchor to totalLineItemsPriceSettotal•Money
Line Items Price Set Bag! non-null Total price of line items.
- Anchor to totalPriceSettotal•Money
Price Set Bag! non-null The total price, includes taxes, shipping charges, and discounts.
- Anchor to totalQuantityOfLineItemstotal•Int!
Quantity Of Line Items non-null The sum of individual line item quantities. If the draft order has bundle items, this is the sum containing the quantities of individual items in the bundle.
- Anchor to totalShippingPriceSettotal•Money
Shipping Price Set Bag! non-null The total shipping price.
- Anchor to totalTaxSettotal•Money
Tax Set Bag! non-null The total tax.
- Anchor to totalWeighttotal•Unsigned
Weight Int64! non-null The total weight in grams of the draft order.
- Anchor to transformerFingerprinttransformer•String
Fingerprint Fingerprint of the current cart. In order to have bundles work, the fingerprint must be passed to each request as it was previously returned, unmodified.
- 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.
- Anchor to visibleToCustomervisible•Boolean!
To Customer non-null Whether the draft order will be visible to the customer on the self-serve portal.
- Anchor to warningswarnings•[Draft
Order Warning!]! non-null The list of warnings raised while calculating.
- Anchor to localizationExtensionslocalization•Localization
Extensions Extension Connection! non-nullDeprecated - Anchor to marketNamemarket•String!
Name non-nullDeprecated - Anchor to marketRegionCountryCodemarket•Country
Region Country Code Code! non-nullDeprecated - Anchor to privateMetafieldprivate•Private
Metafield Metafield Deprecated - Anchor to privateMetafieldsprivate•Private
Metafields Metafield Connection! non-nullDeprecated - Anchor to subtotalPricesubtotal•Money!
Price non-nullDeprecated - Anchor to totalPricetotal•Money!
Price non-nullDeprecated - Anchor to totalShippingPricetotal•Money!
Shipping Price non-nullDeprecated - Anchor to totalTaxtotal•Money!
Tax non-nullDeprecated
- •OBJECT
The line item for a draft order.
- Anchor to appliedDiscountapplied•Draft
Discount Order Applied Discount The custom applied discount.
- Anchor to approximateDiscountedUnitPriceSetapproximate•Money
Discounted Unit Price Set Bag! non-null The
divided by
quantity
, equal to the average value of the line item price per unit after discounts are applied. This value doesn't include discounts applied to the entire draft order.- Anchor to bundleComponentsbundle•[Draft
Components Order Line Item!]! non-null The list of bundle components if applicable.
- Anchor to customcustom•Boolean!non-null
Whether the line item is custom (
true
) or contains a product variant (false
).- Anchor to customAttributescustom•[Attribute!]!
Attributes non-null A list of attributes that represent custom features or special requests.
- Anchor to customAttributesV2custom•[Typed
Attributes V2 Attribute!]! non-null The list of additional information (metafields) with the associated types.
- Anchor to discountedTotalSetdiscounted•Money
Total Set Bag! non-null The total price with discounts applied.
- Anchor to fulfillmentServicefulfillment•Fulfillment
Service Service Name of the service provider who fulfilled the order.
Valid values are either manual or the name of the provider. For example, amazon, shipwire.
Deleted fulfillment services will return null.
- •ID!non-null
A globally-unique ID.
- Anchor to imageimage•Image
The image of the product variant.
- Anchor to isGiftCardis•Boolean!
Gift Card non-null Whether the line item represents the purchase of a gift card.
- Anchor to namename•String!non-null
The name of the product.
- Anchor to originalTotalSetoriginal•Money
Total Set Bag! non-null The total price excluding discounts, equal to the original unit price multiplied by quantity.
- Anchor to originalUnitPriceSetoriginal•Money
Unit Price Set Bag! non-null The price without any discounts applied.
- Anchor to originalUnitPriceWithCurrencyoriginal•Money
Unit Price With Currency V2 The original custom line item input price.
- Anchor to productproduct•Product
The product for the line item.
- Anchor to quantityquantity•Int!non-null
The quantity of items. For a bundle item, this is the quantity of bundles, not the quantity of items contained in the bundles themselves.
- Anchor to requiresShippingrequires•Boolean!
Shipping non-null Whether physical shipping is required for the variant.
- •String
The SKU number of the product variant.
- Anchor to taxabletaxable•Boolean!non-null
Whether the variant is taxable.
- Anchor to taxLinestax•[Tax
Lines Line!]! non-null A list of tax lines.
- Anchor to titletitle•String!non-null
The title of the product or variant. This field only applies to custom line items.
- Anchor to totalDiscountSettotal•Money
Discount Set Bag! non-null The total discount amount.
- Anchor to uuiduuid•String!non-null
The UUID of the draft order line item. Must be unique and consistent across requests. This field is mandatory in order to manipulate drafts with bundles.
- Anchor to variantvariant•Product
Variant The product variant for the line item.
- Anchor to variantTitlevariant•String
Title The name of the variant.
- Anchor to vendorvendor•String
The name of the vendor who created the product variant.
- Anchor to weightweight•Weight
The weight unit and value.
- Anchor to discountedTotaldiscounted•Money!
Total non-nullDeprecated - Anchor to discountedUnitPricediscounted•Money!
Unit Price non-nullDeprecated - Anchor to discountedUnitPriceSetdiscounted•Money
Unit Price Set Bag! non-nullDeprecated - Anchor to gramsgrams•IntDeprecated
- Anchor to originalTotaloriginal•Money!
Total non-nullDeprecated - Anchor to originalUnitPriceoriginal•Money!
Unit Price non-nullDeprecated - Anchor to totalDiscounttotal•Money!
Discount non-nullDeprecated
- •OBJECT
Represents a draft order tag.
- Anchor to handlehandle•String!non-null
Handle of draft order tag.
- •ID!non-null
ID of draft order tag.
- Anchor to titletitle•String!non-null
Title of draft order tag.
- •OBJECT
The duty details for a line item.
- Anchor to countryCodeOfOrigincountry•Country
Code Of Origin Code The ISO 3166-1 alpha-2 country code of the country of origin used in calculating the duty.
- Anchor to harmonizedSystemCodeharmonized•String
System Code The harmonized system code of the item used in calculating the duty.
- •ID!non-null
A globally-unique ID.
- Anchor to priceprice•Money
Bag! non-null The amount of the duty.
- Anchor to taxLinestax•[Tax
Lines Line!]! non-null A list of taxes charged on the duty.
- •OBJECT
An item for exchange.
- •ID!non-null
A globally-unique ID.
- Anchor to lineItemline•Line
Item Item Deprecated
- •ID!
- •OBJECT
Represents a video hosted outside of Shopify.
- •String
A word or phrase to describe the contents or the function of a file.
- Anchor to createdAtcreated•Date
At Time! non-null The date and time (ISO 8601 format) when the file was created.
- Anchor to embedUrlembed•URL!
Url non-null The embed URL of the video for the respective host.
- Anchor to fileErrorsfile•[File
Errors Error!]! non-null Any errors that have occurred on the file.
- Anchor to fileStatusfile•File
Status Status! non-null The status of the file.
- Anchor to hosthost•Media
Host! non-null The host of the external video.
- •ID!non-null
A globally-unique ID.
- Anchor to mediaContentTypemedia•Media
Content Type Content Type! non-null The media content type.
- Anchor to mediaErrorsmedia•[Media
Errors Error!]! non-null Any errors which have occurred on the media.
- Anchor to mediaWarningsmedia•[Media
Warnings Warning!]! non-null The warnings attached to the media.
- Anchor to originUrlorigin•URL!
Url non-null The origin URL of the video on the respective host.
- Anchor to previewpreview•Media
Preview Image The preview image for the media.
- Anchor to statusstatus•Media
Status! non-null Current status of the media.
- Anchor to updatedAtupdated•Date
At Time! non-null The date and time (ISO 8601 format) when the file was last updated.
- Anchor to embeddedUrlembedded•URL!
Url non-nullDeprecated
- •OBJECT
Represents a fulfillment. In Shopify, a fulfillment represents a shipment of one or more items in an order. When an order has been completely fulfilled, it means that all the items that are included in the order have been sent to the customer. There can be more than one fulfillment for an order.
- Anchor to createdAtcreated•Date
At Time! non-null The date and time when the fulfillment was created.
- Anchor to deliveredAtdelivered•Date
At Time The date that this fulfillment was delivered.
- Anchor to displayStatusdisplay•Fulfillment
Status Display Status Human readable display status for this fulfillment.
- Anchor to estimatedDeliveryAtestimated•Date
Delivery At Time The estimated date that this fulfillment will arrive.
- Anchor to eventsevents•Fulfillment
Event Connection! non-null The history of events associated with this fulfillment.
- Anchor to fulfillmentLineItemsfulfillment•Fulfillment
Line Items Line Item Connection! non-null List of the fulfillment's line items.
- Anchor to fulfillmentOrdersfulfillment•Fulfillment
Orders Order Connection! non-null A paginated list of fulfillment orders for the fulfillment.
- •ID!non-null
A globally-unique ID.
- Anchor to inTransitAtin•Date
Transit At Time The date and time when the fulfillment went into transit.
- Anchor to legacyResourceIdlegacy•Unsigned
Resource Id Int64! non-null The ID of the corresponding resource in the REST Admin API.
- Anchor to locationlocation•Location
The location that the fulfillment was processed at.
- Anchor to namename•String!non-null
Human readable reference identifier for this fulfillment.
- Anchor to orderorder•Order!non-null
The order for which the fulfillment was created.
- Anchor to originAddressorigin•Fulfillment
Address Origin Address The address at which the fulfillment occurred. This field is intended for tax purposes, as a full address is required for tax providers to accurately calculate taxes. Typically this is the address of the warehouse or fulfillment center. To retrieve a fulfillment location's address, use the
field on the
object instead.
- Anchor to requiresShippingrequires•Boolean!
Shipping non-null Whether any of the line items in the fulfillment require shipping.
- Anchor to serviceservice•Fulfillment
Service Fulfillment service associated with the fulfillment.
- Anchor to statusstatus•Fulfillment
Status! non-null The status of the fulfillment.
- Anchor to totalQuantitytotal
Quantity