---
title: LegacyInteroperability - GraphQL Admin
description: >-
Interoperability metadata for types that directly correspond to a REST Admin
API resource.
For example, on the Product type, LegacyInteroperability returns metadata for
the corresponding [Product
object](https://shopify.dev/api/admin-graphql/latest/objects/product) in the
REST Admin API.
api_version: 2026-01
api_name: admin
type: interface
api_type: graphql
source_url:
html: >-
https://shopify.dev/docs/api/admin-graphql/latest/interfaces/LegacyInteroperability
md: >-
https://shopify.dev/docs/api/admin-graphql/latest/interfaces/LegacyInteroperability.md
---
# LegacyInteroperability
interface
Interoperability metadata for types that directly correspond to a REST Admin API resource. For example, on the Product type, LegacyInteroperability returns metadata for the corresponding [Product object](https://shopify.dev/api/admin-graphql/latest/objects/product) in the REST Admin API.
## Fields
* legacyResourceId
[UnsignedInt64!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/UnsignedInt64)
non-null
The ID of the corresponding resource in the REST Admin API.
***
## Types implemented in
* [Customer](https://shopify.dev/docs/api/admin-graphql/latest/objects/Customer)
OBJECT
Information about a customer of the shop, such as the customer's contact details, purchase history, and marketing preferences.
Tracks the customer's total spending through the [`amountSpent`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Customer#field-amountSpent) field and provides access to associated data such as payment methods and subscription contracts.
***
**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.
***
* addressesV2
[MailingAddressConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/MailingAddressConnection)
non-null
The addresses associated with the customer.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
***
* amountSpent
[MoneyV2!](https://shopify.dev/docs/api/admin-graphql/latest/objects/MoneyV2)
non-null
The total amount that the customer has spent on orders in their lifetime.
* canDelete
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
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.
* companyContactProfiles
[\[CompanyContact!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/CompanyContact)
non-null
A list of the customer's company contact profiles.
* createdAt
[DateTime!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/DateTime)
non-null
The date and time when the customer was added to the store.
* dataSaleOptOut
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether the customer has opted out of having their data sold.
* defaultAddress
[MailingAddress](https://shopify.dev/docs/api/admin-graphql/latest/objects/MailingAddress)
The default address associated with the customer.
* defaultEmailAddress
[CustomerEmailAddress](https://shopify.dev/docs/api/admin-graphql/latest/objects/CustomerEmailAddress)
The customer's default email address.
* defaultPhoneNumber
[CustomerPhoneNumber](https://shopify.dev/docs/api/admin-graphql/latest/objects/CustomerPhoneNumber)
The customer's default phone number.
* displayName
[String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
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.
* events
[EventConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/EventConnection)
non-null
A list of events associated with the customer.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
* sortKey
[EventSortKeys](https://shopify.dev/docs/api/admin-graphql/latest/enums/EventSortKeys)
Default:ID
Sort the underlying list using a key. If your query is slow or returns an error, then [try specifying a sort key that matches the field used in the search](https://shopify.dev/api/usage/pagination-graphql#search-performance-considerations).
* query
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about [Shopify API search syntax](https://shopify.dev/api/usage/search-syntax).
* * action
string
* comments
boolean
* created\_at
time
* id
id
* subject\_type
string
- The action that occured.
- Example:
* `action:create`
Whether or not to include [comment-events](https://shopify.dev/api/admin-graphql/latest/objects/CommentEvent) in your search, passing `false` will exclude comment-events, any other value will include comment-events.
- Example:
* `false`
* `true`
Filter by the date and time when the event occurred. Event data is retained for 1 year.
- Example:
* `created_at:>2025-10-21`
* `created_at:=1234`
* `id:<=1234`
The resource type affected by this event. See [EventSubjectType](https://shopify.dev/api/admin-graphql/latest/enums/EventSubjectType) for possible values.
Example:
* `PRODUCT_VARIANT`
* `PRODUCT`
* `COLLECTION`
***
* firstName
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The customer's first name.
* id
[ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
non-null
A globally-unique ID.
* image
[Image!](https://shopify.dev/docs/api/admin-graphql/latest/objects/Image)
non-null
The image associated with the customer.
* size
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
Deprecated
### Arguments
***
* lastName
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The customer's last name.
* lastOrder
[Order](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order)
The customer's last order.
* legacyResourceId
[UnsignedInt64!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/UnsignedInt64)
non-null
The ID of the corresponding resource in the REST Admin API.
* lifetimeDuration
[String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
non-null
The amount of time since the customer was first added to the store.
Example: 'about 12 years'.
* locale
[String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
non-null
The customer's locale.
* mergeable
[CustomerMergeable!](https://shopify.dev/docs/api/admin-graphql/latest/objects/CustomerMergeable)
non-null
Whether the customer can be merged with another customer.
* metafield
[Metafield](https://shopify.dev/docs/api/admin-graphql/latest/objects/Metafield)
A [custom field](https://shopify.dev/docs/apps/build/custom-data), including its `namespace` and `key`, that's associated with a Shopify resource for the purposes of adding and storing additional information.
* namespace
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
### Arguments
The container the metafield belongs to. If omitted, the app-reserved namespace will be used.
* key
[String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
required
The key for the metafield.
***
* metafields
[MetafieldConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/MetafieldConnection)
non-null
A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data) that a merchant associates with a Shopify resource.
* namespace
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
### Arguments
The metafield namespace to filter by. If omitted, all metafields are returned.
* keys
[\[String!\]](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
List of keys of metafields in the format `namespace.key`, will be returned in the same format.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
***
* multipassIdentifier
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
A unique identifier for the customer that's used with Multipass login.
* note
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
A note about the customer.
* numberOfOrders
[UnsignedInt64!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/UnsignedInt64)
non-null
The number of orders that the customer has made at the store in their lifetime.
* orders
[OrderConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/OrderConnection)
non-null
A list of the customer's orders.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
* sortKey
[OrderSortKeys](https://shopify.dev/docs/api/admin-graphql/latest/enums/OrderSortKeys)
Default:ID
Sort the underlying list using a key. If your query is slow or returns an error, then [try specifying a sort key that matches the field used in the search](https://shopify.dev/api/usage/pagination-graphql#search-performance-considerations).
* query
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about [Shopify API search syntax](https://shopify.dev/api/usage/search-syntax).
* * default
string
* cart\_token
string
* channel
string
* channel\_id
id
* chargeback\_status
string
* checkout\_token
string
* confirmation\_number
string
* created\_at
time
* credit\_card\_last4
string
* current\_total\_price
float
* customer\_id
id
* delivery\_method
string
* discount\_code
string
* email
string
* financial\_status
string
* fraud\_protection\_level
string
* fulfillment\_location\_id
id
* fulfillment\_status
string
* gateway
string
* id
id
* location\_id
id
* metafields.{namespace}.{key}
mixed
* name
string
* payment\_id
string
* payment\_provider\_id
id
* po\_number
string
* processed\_at
time
* reference\_location\_id
id
* return\_status
string
* risk\_level
string
* sales\_channel
string
* sku
string
* source\_identifier
string
* source\_name
string
* status
string
* subtotal\_line\_items\_quantity
string
* tag
string
* tag\_not
string
* test
boolean
* total\_weight
string
* updated\_at
time
- Filter by a case-insensitive search of multiple fields in a document.
- Example:
* `query=Bob Norman`
* `query=title:green hoodie`
Filter by the cart token's unique value to track abandoned cart conversions or troubleshoot checkout issues. The token references the cart that's associated with an order.
- Example:
* `cart_token:abc123`
Filter by the channel information [`handle`](https://shopify.dev/api/admin-graphql/latest/objects/ChannelInformation#field-ChannelInformation.fields.channelDefinition.handle) (`ChannelInformation.channelDefinition.handle`) field.
- Example:
* `channel:web`
* `channel:web,pos`
Filter by the channel [`id`](https://shopify.dev/api/admin-graphql/latest/objects/Channel#field-Channel.fields.id) field.
- Example:
* `channel_id:123`
Filter by the order's chargeback status. A chargeback occurs when a customer questions the legitimacy of a charge with their financial institution.
- Valid values:
* `accepted`
* `charge_refunded`
* `lost`
* `needs_response`
* `under_review`
* `won`
Example:
* `chargeback_status:accepted`
Filter by the checkout token's unique value to analyze conversion funnels or resolve payment issues. The checkout token's value references the checkout that's associated with an order.
- Example:
* `checkout_token:abc123`
Filter by the randomly generated alpha-numeric identifier for an order that can be displayed to the customer instead of the sequential order name. This value isn't guaranteed to be unique.
- Example:
* `confirmation_number:ABC123`
Filter by the date and time when the order was created in Shopify's system.
- Example:
* `created_at:2020-10-21T23:39:20Z`
* `created_at:=5.00 current_total_price:<=20.99`
Filter orders by the customer [`id`](https://shopify.dev/api/admin-graphql/latest/objects/Customer#field-Customer.fields.id) field.
- Example:
* `customer_id:123`
Filter by the delivery [`methodType`](https://shopify.dev/api/admin-graphql/2024-07/objects/DeliveryMethod#field-DeliveryMethod.fields.methodType) field.
- Valid values:
* `shipping`
* `pick-up`
* `retail`
* `local`
* `pickup-point`
* `none`
Example:
* `delivery_method:shipping`
Filter by the case-insensitive discount code that was applied to the order at checkout. Limited to the first discount code used on an order. Maximum characters: 255.
- Example:
* `discount_code:ABC123`
Filter by the email address that's associated with the order to provide customer support or analyze purchasing patterns.
- Example:
* `email:example@shopify.com`
Filter by the order [`displayFinancialStatus`](https://shopify.dev/api/admin-graphql/latest/objects/Order#field-Order.fields.displayFinancialStatus) field.
- Valid values:
* `paid`
* `pending`
* `authorized`
* `partially_paid`
* `partially_refunded`
* `refunded`
* `voided`
* `expired`
Example:
* `financial_status:authorized`
Filter by the level of fraud protection that's applied to the order. Use this filter to manage risk or handle disputes.
- Valid values:
* `fully_protected`
* `partially_protected`
* `not_protected`
* `pending`
* `not_eligible`
* `not_available`
Example:
* `fraud_protection_level:fully_protected`
Filter by the fulfillment location [`id`](https://shopify.dev/api/admin-graphql/latest/objects/Fulfillment#field-Fulfillment.fields.location.id) (`Fulfillment.location.id`) field.
- Example:
* `fulfillment_location_id:123`
Filter by the [`displayFulfillmentStatus`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order#field-Order.fields.displayFulfillmentStatus) field to prioritize shipments or monitor order processing.
- Valid values:
* `unshipped`
* `shipped`
* `fulfilled`
* `partial`
* `scheduled`
* `on_hold`
* `unfulfilled`
* `request_declined`
Example:
* `fulfillment_status:fulfilled`
Filter by the [`paymentGatewayNames`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order#field-Order.fields.paymentGatewayNames) field. Use this filter to find orders that were processed through specific payment providers like Shopify Payments, PayPal, or other custom payment gateways.
- Example:
* `gateway:shopify_payments`
Filter by `id` range.
- Example:
* `id:1234`
* `id:>=1234`
* `id:<=1234`
Filter by the location [`id`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Location#field-Location.fields.id) that's associated with the order to view and manage orders for specific locations. For POS orders, locations must be defined in the Shopify admin under **Settings** > **Locations**. If no ID is provided, then the primary location of the shop is returned.
- Example:
* `location_id:123`
Filters resources by metafield value. Format: `metafields.{namespace}.{key}:{value}`. Learn more about [querying by metafield value](https://shopify.dev/apps/build/custom-data/metafields/query-by-metafield-value).
- Example:
* `metafields.custom.on_sale:true`
* `metafields.product.material:"gid://shopify/Metaobject/43458085"`
Filter by the order [`name`](https://shopify.dev/api/admin-graphql/latest/objects/Order#field-name) field.
- Example:
* `name:1001-A`
Filter by the payment ID that's associated with the order to reconcile financial records or troubleshoot payment issues.
- Example:
* `payment_id:abc123`
Filter by the ID of the payment provider that's associated with the order to manage payment methods or troubleshoot transactions.
- Example:
* `payment_provider_id:123`
Filter by the order [`poNumber`](https://shopify.dev/api/admin-graphql/latest/objects/order#field-Order.fields.poNumber) field.
- Example:
* `po_number:P01001`
Filter by the order [`processedAt`](https://shopify.dev/api/admin-graphql/latest/objects/order#field-Order.fields.processedAt) field.
- Example:
* `processed_at:2021-01-01T00:00:00Z`
Filter by the ID of a location that's associated with the order, such as locations from fulfillments, refunds, or the shop's primary location.
- Example:
* `reference_location_id:123`
Filter by the order's [`returnStatus`](https://shopify.dev/api/admin-graphql/latest/objects/Order#field-Order.fields.returnStatus) to monitor returns processing and track which orders have active returns.
- Valid values:
* `return_requested`
* `in_progress`
* `inspection_complete`
* `returned`
* `return_failed`
* `no_return`
Example:
* `return_status:in_progress`
Filter by the order risk assessment [`riskLevel`](https://shopify.dev/api/admin-graphql/latest/objects/OrderRiskAssessment#field-OrderRiskAssessment.fields.riskLevel) field.
- Valid values:
* `high`
* `medium`
* `low`
* `none`
* `pending`
Example:
* `risk_level:high`
Filter by the [sales channel](https://shopify.dev/docs/apps/build/sales-channels) where the order was made to analyze performance or manage fulfillment processes.
- Example:
* `sales_channel: some_sales_channel`
Filter by the product variant [`sku`](https://shopify.dev/api/admin-graphql/latest/objects/ProductVariant#field-ProductVariant.fields.sku) field. [Learn more about SKUs](https://help.shopify.com/manual/products/details/sku).
- Example:
* `sku:ABC123`
Filter by the ID of the order placed on the originating platform, such as a unique POS or third-party identifier. This value doesn't correspond to the Shopify ID that's generated from a completed draft order.
- Example:
* `source_identifier:1234-12-1000`
Filter by the platform where the order was placed to distinguish between web orders, POS sales, draft orders, or third-party channels. Use this filter to analyze sales performance across different ordering methods.
- Example:
* `source_name:web`
* `source_name:shopify_draft_order`
Filter by the order's status to manage workflows or analyze the order lifecycle.
- Valid values:
* `open`
* `closed`
* `cancelled`
* `not_closed`
Example:
* `status:open`
Filter by the total number of items across all line items in an order. This filter supports both exact values and ranges, and is useful for identifying bulk orders or analyzing purchase volume patterns.
- Example:
* `subtotal_line_items_quantity:10`
* `subtotal_line_items_quantity:5..20`
Filter objects by the `tag` field.
- Example:
* `tag:my_tag`
Filter by objects that don’t have the specified tag.
- Example:
* `tag_not:my_tag`
Filter by test orders. Test orders are made using the [Shopify Bogus Gateway](https://help.shopify.com/manual/checkout-settings/test-orders/payments-test-mode#bogus-gateway) or a payment provider with test mode enabled.
- Example:
* `test:true`
Filter by the order weight. This filter supports both exact values and ranges, and is to be used to filter orders by the total weight of all items (excluding packaging). It takes a unit of measurement as a suffix. It accepts the following units: g, kg, lb, oz.
- Example:
* `total_weight:10.5kg`
* `total_weight:>=5g total_weight:<=20g`
* `total_weight:.5 lb`
Filter by the date and time when the order was last updated in Shopify's system.
Example:
* `updated_at:2020-10-21T23:39:20Z`
* `updated_at:=1234`
* `id:<=1234`
***
* subscriptionContracts
[SubscriptionContractConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/SubscriptionContractConnection)
non-null
A list of the customer's subscription contracts.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
***
* tags
[\[String!\]!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
non-null
A comma separated list of tags that have been added to the customer.
* taxExempt
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether the customer is exempt from being charged taxes on their orders.
* taxExemptions
[\[TaxExemption!\]!](https://shopify.dev/docs/api/admin-graphql/latest/enums/TaxExemption)
non-null
The list of tax exemptions applied to the customer.
* updatedAt
[DateTime!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/DateTime)
non-null
The date and time when the customer was last updated.
* verifiedEmail
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether the customer has verified their email address. Defaults to `true` if the customer is created through the Shopify admin or API.
* addresses
[\[MailingAddress!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/MailingAddress)
non-nullDeprecated
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
Truncate the array result to this size.
***
* email
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
Deprecated
* emailMarketingConsent
[CustomerEmailMarketingConsentState](https://shopify.dev/docs/api/admin-graphql/latest/objects/CustomerEmailMarketingConsentState)
Deprecated
* hasTimelineComment
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-nullDeprecated
* market
[Market](https://shopify.dev/docs/api/admin-graphql/latest/objects/Market)
Deprecated
* metafieldDefinitions
[MetafieldDefinitionConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/MetafieldDefinitionConnection)
non-nullDeprecated
* namespace
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
### Arguments
Filter metafield definitions by namespace.
* pinnedStatus
[MetafieldDefinitionPinnedStatus](https://shopify.dev/docs/api/admin-graphql/latest/enums/MetafieldDefinitionPinnedStatus)
Default:ANY
Filter by the definition's pinned status.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
* sortKey
[MetafieldDefinitionSortKeys](https://shopify.dev/docs/api/admin-graphql/latest/enums/MetafieldDefinitionSortKeys)
Default:ID
Sort the underlying list using a key. If your query is slow or returns an error, then [try specifying a sort key that matches the field used in the search](https://shopify.dev/api/usage/pagination-graphql#search-performance-considerations).
* query
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about [Shopify API search syntax](https://shopify.dev/api/usage/search-syntax).
* * default
string
* created\_at
time
* id
id
* key
string
* namespace
string
* owner\_type
string
* type
string
* updated\_at
time
- Filter by a case-insensitive search of multiple fields in a document.
- Example:
* `query=Bob Norman`
* `query=title:green hoodie`
Filter by the date and time when the metafield definition was created.
- Example:
* `created_at:>2020-10-21T23:39:20Z`
* `created_at:=1234`
* `id:<=1234`
Filter by the metafield definition [`key`](https://shopify.dev/docs/api/admin-graphql/latest/objects/MetafieldDefinition#field-key) field.
- Example:
* `key:some-key`
Filter by the metafield definition [`namespace`](https://shopify.dev/docs/api/admin-graphql/latest/objects/MetafieldDefinition#field-namespace) field.
- Example:
* `namespace:some-namespace`
Filter by the metafield definition [`ownerType`](https://shopify.dev/docs/api/admin-graphql/latest/objects/MetafieldDefinition#field-ownertype) field.
- Example:
* `owner_type:PRODUCT`
Filter by the metafield definition [`type`](https://shopify.dev/docs/api/admin-graphql/latest/objects/MetafieldDefinition#field-type) field.
- Example:
* `type:single_line_text_field`
Filter by the date and time when the metafield definition was last updated.
Example:
* `updated_at:>2020-10-21T23:39:20Z`
* `updated_at:2025-10-21`
* `created_at:=1234`
* `id:<=1234`
The resource type affected by this event. See [EventSubjectType](https://shopify.dev/api/admin-graphql/latest/enums/EventSubjectType) for possible values.
Example:
* `PRODUCT_VARIANT`
* `PRODUCT`
* `COLLECTION`
***
* hasTimelineComment
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether the merchant has added timeline comments to the draft order.
* id
[ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
non-null
A globally-unique ID.
* invoiceEmailTemplateSubject
[String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
non-null
The subject defined for the draft invoice email template.
* invoiceSentAt
[DateTime](https://shopify.dev/docs/api/admin-graphql/latest/scalars/DateTime)
The date and time when the invoice was last emailed to the customer.
* invoiceUrl
[URL](https://shopify.dev/docs/api/admin-graphql/latest/scalars/URL)
The link to the checkout, which is sent to the customer in the invoice email.
* legacyResourceId
[UnsignedInt64!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/UnsignedInt64)
non-null
The ID of the corresponding resource in the REST Admin API.
* lineItems
[DraftOrderLineItemConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/DraftOrderLineItemConnection)
non-null
The list of the line items in the draft order.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
***
* lineItemsSubtotalPrice
[MoneyBag!](https://shopify.dev/docs/api/admin-graphql/latest/objects/MoneyBag)
non-null
A subtotal of the line items and corresponding discounts, excluding shipping charges, shipping discounts, taxes, or order discounts.
* localizedFields
[LocalizedFieldConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/LocalizedFieldConnection)
non-null
List of localized fields for the resource.
* countryCodes
[\[CountryCode!\]](https://shopify.dev/docs/api/admin-graphql/latest/enums/CountryCode)
### Arguments
The country codes of the extensions.
* purposes
[\[LocalizedFieldPurpose!\]](https://shopify.dev/docs/api/admin-graphql/latest/enums/LocalizedFieldPurpose)
The purpose of the extensions.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
***
* metafield
[Metafield](https://shopify.dev/docs/api/admin-graphql/latest/objects/Metafield)
A [custom field](https://shopify.dev/docs/apps/build/custom-data), including its `namespace` and `key`, that's associated with a Shopify resource for the purposes of adding and storing additional information.
* namespace
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
### Arguments
The container the metafield belongs to. If omitted, the app-reserved namespace will be used.
* key
[String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
required
The key for the metafield.
***
* metafields
[MetafieldConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/MetafieldConnection)
non-null
A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data) that a merchant associates with a Shopify resource.
* namespace
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
### Arguments
The metafield namespace to filter by. If omitted, all metafields are returned.
* keys
[\[String!\]](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
List of keys of metafields in the format `namespace.key`, will be returned in the same format.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
***
* name
[String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
non-null
The identifier for the draft order, which is unique within the store. For example, *#D1223*.
* note2
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The text from an optional note attached to the draft order.
* order
[Order](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order)
The order that was created from the draft order.
* paymentTerms
[PaymentTerms](https://shopify.dev/docs/api/admin-graphql/latest/objects/PaymentTerms)
The associated payment terms for this draft order.
* phone
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The assigned phone number.
* platformDiscounts
[\[DraftOrderPlatformDiscount!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/DraftOrderPlatformDiscount)
non-null
The list of platform discounts applied.
* poNumber
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The purchase order number.
* presentmentCurrencyCode
[CurrencyCode!](https://shopify.dev/docs/api/admin-graphql/latest/enums/CurrencyCode)
non-null
The payment currency used for calculation.
* purchasingEntity
[PurchasingEntity](https://shopify.dev/docs/api/admin-graphql/latest/unions/PurchasingEntity)
The purchasing entity.
* ready
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/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.
* reserveInventoryUntil
[DateTime](https://shopify.dev/docs/api/admin-graphql/latest/scalars/DateTime)
The time after which inventory will automatically be restocked.
* shippingAddress
[MailingAddress](https://shopify.dev/docs/api/admin-graphql/latest/objects/MailingAddress)
The shipping address of the customer.
* shippingLine
[ShippingLine](https://shopify.dev/docs/api/admin-graphql/latest/objects/ShippingLine)
The line item containing the shipping information and costs.
* status
[DraftOrderStatus!](https://shopify.dev/docs/api/admin-graphql/latest/enums/DraftOrderStatus)
non-null
The status of the draft order.
* subtotalPriceSet
[MoneyBag!](https://shopify.dev/docs/api/admin-graphql/latest/objects/MoneyBag)
non-null
The subtotal, of the line items and their discounts, excluding shipping charges, shipping discounts, and taxes.
* tags
[\[String!\]!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/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](https://shopify.dev/api/admin-graphql/latest/mutations/tagsadd) mutation.
* taxesIncluded
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether the line item prices include taxes.
* taxExempt
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether the draft order is tax exempt.
* taxLines
[\[TaxLine!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/TaxLine)
non-null
The list of of taxes lines charged for each line item and shipping line.
* totalDiscountsSet
[MoneyBag!](https://shopify.dev/docs/api/admin-graphql/latest/objects/MoneyBag)
non-null
Total discounts.
* totalLineItemsPriceSet
[MoneyBag!](https://shopify.dev/docs/api/admin-graphql/latest/objects/MoneyBag)
non-null
Total price of line items, excluding discounts.
* totalPriceSet
[MoneyBag!](https://shopify.dev/docs/api/admin-graphql/latest/objects/MoneyBag)
non-null
The total price, includes taxes, shipping charges, and discounts.
* totalQuantityOfLineItems
[Int!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
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.
* totalShippingPriceSet
[MoneyBag!](https://shopify.dev/docs/api/admin-graphql/latest/objects/MoneyBag)
non-null
The total shipping price.
* totalTaxSet
[MoneyBag!](https://shopify.dev/docs/api/admin-graphql/latest/objects/MoneyBag)
non-null
The total tax.
* totalWeight
[UnsignedInt64!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/UnsignedInt64)
non-null
The total weight in grams of the draft order.
* transformerFingerprint
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
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.
* updatedAt
[DateTime!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/DateTime)
non-null
The date and time when the draft order was last changed. The format is YYYY-MM-DD HH:mm:ss. For example, 2016-02-05 17:04:01.
* visibleToCustomer
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether the draft order will be visible to the customer on the self-serve portal.
* warnings
[\[DraftOrderWarning!\]!](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/DraftOrderWarning)
non-null
The list of warnings raised while calculating.
* localizationExtensions
[LocalizationExtensionConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/LocalizationExtensionConnection)
non-nullDeprecated
* countryCodes
[\[CountryCode!\]](https://shopify.dev/docs/api/admin-graphql/latest/enums/CountryCode)
### Arguments
The country codes of the extensions.
* purposes
[\[LocalizationExtensionPurpose!\]](https://shopify.dev/docs/api/admin-graphql/latest/enums/LocalizationExtensionPurpose)
The purpose of the extensions.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
***
* marketName
[String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
non-nullDeprecated
* marketRegionCountryCode
[CountryCode!](https://shopify.dev/docs/api/admin-graphql/latest/enums/CountryCode)
non-nullDeprecated
* subtotalPrice
[Money!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Money)
non-nullDeprecated
* totalPrice
[Money!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Money)
non-nullDeprecated
* totalShippingPrice
[Money!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Money)
non-nullDeprecated
* totalTax
[Money!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Money)
non-nullDeprecated
* [Fulfillment](https://shopify.dev/docs/api/admin-graphql/latest/objects/Fulfillment)
OBJECT
A shipment of one or more items from an [`Order`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order). Tracks which [`LineItem`](https://shopify.dev/docs/api/admin-graphql/latest/objects/LineItem) objects ship, their quantities, and the shipment's tracking information.
Includes tracking details such as the carrier, tracking numbers, and URLs. The fulfillment connects to both the original order and any associated [`FulfillmentOrder`](https://shopify.dev/docs/api/admin-graphql/latest/objects/FulfillmentOrder) objects. [`FulfillmentEvent`](https://shopify.dev/docs/api/admin-graphql/latest/objects/FulfillmentEvent) objects record milestones throughout the shipment lifecycle, from creation through delivery.
Multiple fulfillments can exist for a single order when items either ship separately or from different locations.
* createdAt
[DateTime!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/DateTime)
non-null
The date and time when the fulfillment was created.
* deliveredAt
[DateTime](https://shopify.dev/docs/api/admin-graphql/latest/scalars/DateTime)
The date that this fulfillment was delivered.
* displayStatus
[FulfillmentDisplayStatus](https://shopify.dev/docs/api/admin-graphql/latest/enums/FulfillmentDisplayStatus)
Human readable display status for this fulfillment.
* estimatedDeliveryAt
[DateTime](https://shopify.dev/docs/api/admin-graphql/latest/scalars/DateTime)
The estimated date that this fulfillment will arrive.
* events
[FulfillmentEventConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/FulfillmentEventConnection)
non-null
The history of events associated with this fulfillment.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
* sortKey
[FulfillmentEventSortKeys](https://shopify.dev/docs/api/admin-graphql/latest/enums/FulfillmentEventSortKeys)
Default:HAPPENED\_AT
Sort the underlying list using a key. If your query is slow or returns an error, then [try specifying a sort key that matches the field used in the search](https://shopify.dev/api/usage/pagination-graphql#search-performance-considerations).
***
* fulfillmentLineItems
[FulfillmentLineItemConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/FulfillmentLineItemConnection)
non-null
List of the fulfillment's line items.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
***
* fulfillmentOrders
[FulfillmentOrderConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/FulfillmentOrderConnection)
non-null
A paginated list of fulfillment orders for the fulfillment.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
***
* id
[ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
non-null
A globally-unique ID.
* inTransitAt
[DateTime](https://shopify.dev/docs/api/admin-graphql/latest/scalars/DateTime)
The date and time when the fulfillment went into transit.
* legacyResourceId
[UnsignedInt64!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/UnsignedInt64)
non-null
The ID of the corresponding resource in the REST Admin API.
* location
[Location](https://shopify.dev/docs/api/admin-graphql/latest/objects/Location)
The location that the fulfillment was processed at.
* name
[String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
non-null
Human readable reference identifier for this fulfillment.
* order
[Order!](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order)
non-null
The order for which the fulfillment was created.
* originAddress
[FulfillmentOriginAddress](https://shopify.dev/docs/api/admin-graphql/latest/objects/FulfillmentOriginAddress)
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 `assignedLocation` field on the [`FulfillmentOrder`](https://shopify.dev/docs/api/admin-graphql/latest/objects/FulfillmentOrder) object instead.
* requiresShipping
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether any of the line items in the fulfillment require shipping.
* service
[FulfillmentService](https://shopify.dev/docs/api/admin-graphql/latest/objects/FulfillmentService)
Fulfillment service associated with the fulfillment.
* status
[FulfillmentStatus!](https://shopify.dev/docs/api/admin-graphql/latest/enums/FulfillmentStatus)
non-null
The status of the fulfillment.
* totalQuantity
[Int!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
non-null
Sum of all line item quantities for the fulfillment.
* trackingInfo
[\[FulfillmentTrackingInfo!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/FulfillmentTrackingInfo)
non-null
Tracking information associated with the fulfillment, such as the tracking company, tracking number, and tracking URL.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
Truncate the array result to this size.
***
* updatedAt
[DateTime!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/DateTime)
non-null
The date and time when the fulfillment was last modified.
* [InventoryItem](https://shopify.dev/docs/api/admin-graphql/latest/objects/InventoryItem)
OBJECT
A [product variant's](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant) inventory information across all locations. The inventory item connects the product variant to its [inventory levels](https://shopify.dev/docs/api/admin-graphql/latest/objects/InventoryLevel) at different locations, tracking stock keeping unit (SKU), whether quantities are tracked, shipping requirements, and customs information for the product.
Learn more about [inventory object relationships](https://shopify.dev/docs/apps/build/orders-fulfillment/inventory-management-apps/manage-quantities-states#inventory-object-relationships).
* countryCodeOfOrigin
[CountryCode](https://shopify.dev/docs/api/admin-graphql/latest/enums/CountryCode)
The ISO 3166-1 alpha-2 country code of where the item originated from.
* countryHarmonizedSystemCodes
[CountryHarmonizedSystemCodeConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/CountryHarmonizedSystemCodeConnection)
non-null
A list of country specific harmonized system codes.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
***
* createdAt
[DateTime!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/DateTime)
non-null
The date and time when the inventory item was created.
* duplicateSkuCount
[Int!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
non-null
The number of inventory items that share the same SKU with this item.
* harmonizedSystemCode
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The harmonized system code of the item. This must be a number between 6 and 13 digits.
* id
[ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
non-null
A globally-unique ID.
* inventoryHistoryUrl
[URL](https://shopify.dev/docs/api/admin-graphql/latest/scalars/URL)
The URL that points to the inventory history for the item.
* inventoryLevel
[InventoryLevel](https://shopify.dev/docs/api/admin-graphql/latest/objects/InventoryLevel)
The inventory item's quantities at the specified location.
* locationId
[ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
required
### Arguments
ID of the location for which the inventory level is requested.
***
* inventoryLevels
[InventoryLevelConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/InventoryLevelConnection)
non-null
A list of the inventory item's quantities for each location that the inventory item can be stocked at.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
* query
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about [Shopify API search syntax](https://shopify.dev/api/usage/search-syntax).
* created\_at
time
* * id
id
* inventory\_group\_id
id
- Filter by `id` range.
- Example:
* `id:1234`
* `id:>=1234`
* `id:<=1234`
* inventory\_item\_id
id
* updated\_at
time
***
* legacyResourceId
[UnsignedInt64!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/UnsignedInt64)
non-null
The ID of the corresponding resource in the REST Admin API.
* locationsCount
[Count](https://shopify.dev/docs/api/admin-graphql/latest/objects/Count)
The number of locations where this inventory item is stocked.
* measurement
[InventoryItemMeasurement!](https://shopify.dev/docs/api/admin-graphql/latest/objects/InventoryItemMeasurement)
non-null
The packaging dimensions of the inventory item.
* provinceCodeOfOrigin
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The ISO 3166-2 alpha-2 province code of where the item originated from.
* requiresShipping
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether the inventory item requires shipping.
* sku
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
Inventory item SKU. Case-sensitive string.
* tracked
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether inventory levels are tracked for the item.
* trackedEditable
[EditableProperty!](https://shopify.dev/docs/api/admin-graphql/latest/objects/EditableProperty)
non-null
Whether the value of the `tracked` field for the inventory item can be changed.
* unitCost
[MoneyV2](https://shopify.dev/docs/api/admin-graphql/latest/objects/MoneyV2)
Unit cost associated with the inventory item. Note: the user must have "View product costs" permission granted in order to access this field once product granular permissions are enabled.
* updatedAt
[DateTime!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/DateTime)
non-null
The date and time when the inventory item was updated.
* variants
[ProductVariantConnection](https://shopify.dev/docs/api/admin-graphql/latest/connections/ProductVariantConnection)
A paginated list of the variants that reference this inventory item.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
***
* variant
[ProductVariant!](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant)
non-nullDeprecated
* [Location](https://shopify.dev/docs/api/admin-graphql/latest/objects/Location)
OBJECT
A physical location where merchants store and fulfill inventory. Locations include retail stores, warehouses, popups, dropshippers, or other places where inventory is managed or stocked.
Active locations can fulfill online orders when configured with shipping rates, local pickup, or local delivery options. Locations track inventory quantities for [products](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) and process [order](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order) fulfillment. Third-party apps using [`FulfillmentService`](https://shopify.dev/docs/api/admin-graphql/latest/objects/FulfillmentService) can create and manage their own locations.
* activatable
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether the location can be reactivated. If `false`, then trying to activate the location with the [`LocationActivate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/locationActivate) mutation will return an error that describes why the location can't be activated.
* address
[LocationAddress!](https://shopify.dev/docs/api/admin-graphql/latest/objects/LocationAddress)
non-null
The address of this location.
* addressVerified
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether the location address has been verified.
* createdAt
[DateTime!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/DateTime)
non-null
The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) that the location was added to a shop.
* deactivatable
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether this location can be deactivated. If `true`, then the location can be deactivated by calling the [`LocationDeactivate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/locationDeactivate) mutation. If `false`, then calling the mutation to deactivate it will return an error that describes why the location can't be deactivated.
* deactivatedAt
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) that the location was deactivated at. For example, 3:30 pm on September 7, 2019 in the time zone of UTC (Universal Time Coordinated) is represented as `"2019-09-07T15:50:00Z`".
* deletable
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether this location can be deleted.
* fulfillmentService
[FulfillmentService](https://shopify.dev/docs/api/admin-graphql/latest/objects/FulfillmentService)
Name of the service provider that fulfills from this location.
* fulfillsOnlineOrders
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether this location can fulfill online orders.
* hasActiveInventory
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether this location has active inventory.
* hasUnfulfilledOrders
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether this location has orders that need to be fulfilled.
* id
[ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
non-null
A globally-unique ID.
* inventoryLevel
[InventoryLevel](https://shopify.dev/docs/api/admin-graphql/latest/objects/InventoryLevel)
The quantities of an inventory item at this location.
* inventoryItemId
[ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
required
### Arguments
The ID of the inventory item to obtain the inventory level for.
***
* inventoryLevels
[InventoryLevelConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/InventoryLevelConnection)
non-null
A list of the quantities of the inventory items that can be stocked at this location.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
* query
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about [Shopify API search syntax](https://shopify.dev/api/usage/search-syntax).
* created\_at
time
* * id
id
* inventory\_group\_id
id
- Filter by `id` range.
- Example:
* `id:1234`
* `id:>=1234`
* `id:<=1234`
* inventory\_item\_id
id
* updated\_at
time
***
* isActive
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether the location is active. A deactivated location can be activated (change `isActive: true`) if it has `activatable` set to `true` by calling the [`locationActivate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/locationActivate) mutation.
* isFulfillmentService
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether this location is a fulfillment service.
* legacyResourceId
[UnsignedInt64!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/UnsignedInt64)
non-null
The ID of the corresponding resource in the REST Admin API.
* localPickupSettingsV2
[DeliveryLocalPickupSettings](https://shopify.dev/docs/api/admin-graphql/latest/objects/DeliveryLocalPickupSettings)
Local pickup settings for the location.
* metafield
[Metafield](https://shopify.dev/docs/api/admin-graphql/latest/objects/Metafield)
A [custom field](https://shopify.dev/docs/apps/build/custom-data), including its `namespace` and `key`, that's associated with a Shopify resource for the purposes of adding and storing additional information.
* namespace
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
### Arguments
The container the metafield belongs to. If omitted, the app-reserved namespace will be used.
* key
[String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
required
The key for the metafield.
***
* metafields
[MetafieldConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/MetafieldConnection)
non-null
A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data) that a merchant associates with a Shopify resource.
* namespace
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
### Arguments
The metafield namespace to filter by. If omitted, all metafields are returned.
* keys
[\[String!\]](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
List of keys of metafields in the format `namespace.key`, will be returned in the same format.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
***
* name
[String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
non-null
The name of the location.
* shipsInventory
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Legacy field indicating this location was designated for shipping. All locations with valid addresses can now ship.
* suggestedAddresses
[\[LocationSuggestedAddress!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/LocationSuggestedAddress)
non-null
List of suggested addresses for this location (empty if none).
* updatedAt
[DateTime!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/DateTime)
non-null
The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the location was last updated.
* isPrimary
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-nullDeprecated
* metafieldDefinitions
[MetafieldDefinitionConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/MetafieldDefinitionConnection)
non-nullDeprecated
* namespace
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
### Arguments
Filter metafield definitions by namespace.
* pinnedStatus
[MetafieldDefinitionPinnedStatus](https://shopify.dev/docs/api/admin-graphql/latest/enums/MetafieldDefinitionPinnedStatus)
Default:ANY
Filter by the definition's pinned status.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
* sortKey
[MetafieldDefinitionSortKeys](https://shopify.dev/docs/api/admin-graphql/latest/enums/MetafieldDefinitionSortKeys)
Default:ID
Sort the underlying list using a key. If your query is slow or returns an error, then [try specifying a sort key that matches the field used in the search](https://shopify.dev/api/usage/pagination-graphql#search-performance-considerations).
* query
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about [Shopify API search syntax](https://shopify.dev/api/usage/search-syntax).
* * default
string
* created\_at
time
* id
id
* key
string
* namespace
string
* owner\_type
string
* type
string
* updated\_at
time
- Filter by a case-insensitive search of multiple fields in a document.
- Example:
* `query=Bob Norman`
* `query=title:green hoodie`
Filter by the date and time when the metafield definition was created.
- Example:
* `created_at:>2020-10-21T23:39:20Z`
* `created_at:=1234`
* `id:<=1234`
Filter by the metafield definition [`key`](https://shopify.dev/docs/api/admin-graphql/latest/objects/MetafieldDefinition#field-key) field.
- Example:
* `key:some-key`
Filter by the metafield definition [`namespace`](https://shopify.dev/docs/api/admin-graphql/latest/objects/MetafieldDefinition#field-namespace) field.
- Example:
* `namespace:some-namespace`
Filter by the metafield definition [`ownerType`](https://shopify.dev/docs/api/admin-graphql/latest/objects/MetafieldDefinition#field-ownertype) field.
- Example:
* `owner_type:PRODUCT`
Filter by the metafield definition [`type`](https://shopify.dev/docs/api/admin-graphql/latest/objects/MetafieldDefinition#field-type) field.
- Example:
* `type:single_line_text_field`
Filter by the date and time when the metafield definition was last updated.
Example:
* `updated_at:>2020-10-21T23:39:20Z`
* `updated_at:Order\ object by default. If you want to access older records, then you need to \request access to all orders\. If your app is granted access, then you can add the \\read\\_all\\_orders\\, \\read\\_orders\\, and \\write\\_orders\\ scopes.
***
***
**Caution:** Only use orders 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.
***
Learn more about [building apps for orders and fulfillment](https://shopify.dev/docs/apps/build/orders-fulfillment).
* additionalFees
[\[AdditionalFee!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/AdditionalFee)
non-null
A list of additional fees applied to an order, such as duties, import fees, or [tax lines](https://shopify.dev/docs/api/admin-graphql/latest/objects/order#field-Order.fields.additionalFees.taxLines).
* agreements
[SalesAgreementConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/SalesAgreementConnection)
non-null
A list of sales agreements associated with the order, such as contracts defining payment terms, or delivery schedules between merchants and customers.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
* query
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about [Shopify API search syntax](https://shopify.dev/api/usage/search-syntax).
* happened\_at
time
* id
id
Filter by `id` range.
Example:
* `id:1234`
* `id:>=1234`
* `id:<=1234`
***
* alerts
[\[ResourceAlert!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/ResourceAlert)
non-null
A list of messages that appear on the **Orders** page in the Shopify admin. These alerts provide merchants with important information about an order's status or required actions.
* app
[OrderApp](https://shopify.dev/docs/api/admin-graphql/latest/objects/OrderApp)
The application that created the order. For example, "Online Store", "Point of Sale", or a custom app name. Use this to identify the order source for attribution and fulfillment workflows. Learn more about [building apps for orders and fulfillment](https://shopify.dev/docs/apps/build/orders-fulfillment).
* billingAddress
[MailingAddress](https://shopify.dev/docs/api/admin-graphql/latest/objects/MailingAddress)
The billing address associated with the payment method selected by the customer for an order. Returns `null` if no billing address was provided during checkout.
* billingAddressMatchesShippingAddress
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether the billing address matches the [shipping address](https://shopify.dev/docs/api/admin-graphql/latest/objects/order#field-Order.fields.shippingAddress). Returns `true` if both addresses are the same, and `false` if they're different or if an address is missing.
* cancellation
[OrderCancellation](https://shopify.dev/docs/api/admin-graphql/latest/objects/OrderCancellation)
Details of an order's cancellation, if it has been canceled. This includes the reason, date, and any [staff notes](https://shopify.dev/api/admin-graphql/latest/objects/OrderCancellation#field-OrderCancellation.fields.staffNote).
* cancelledAt
[DateTime](https://shopify.dev/docs/api/admin-graphql/latest/scalars/DateTime)
The date and time in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601) when an order was canceled. Returns `null` if the order hasn't been canceled.
* cancelReason
[OrderCancelReason](https://shopify.dev/docs/api/admin-graphql/latest/enums/OrderCancelReason)
The reason provided for an order cancellation. For example, a merchant might cancel an order if there's insufficient inventory. Returns `null` if the order hasn't been canceled.
* canMarkAsPaid
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether an order can be manually marked as paid. Returns `false` if the order is already paid, is canceled, has pending [Shopify Payments](https://help.shopify.com/en/manual/payments/shopify-payments/payouts) transactions, or has a negative payment amount.
* canNotifyCustomer
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether order notifications can be sent to the customer. Returns `true` if the customer has a valid [email address](https://shopify.dev/docs/api/admin-graphql/latest/objects/order#field-Order.fields.email).
* capturable
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether an authorized payment for an order can be captured. Returns `true` if an authorized payment exists that hasn't been fully captured yet. Learn more about [capturing payments](https://help.shopify.com/en/manual/fulfillment/managing-orders/payments/capturing-payments).
* cartDiscountAmountSet
[MoneyBag](https://shopify.dev/docs/api/admin-graphql/latest/objects/MoneyBag)
The total discount amount applied at the time the order was created, displayed in both shop and presentment currencies, before returns, refunds, order edits, and cancellations. This field only includes discounts applied to the entire order.
* channelInformation
[ChannelInformation](https://shopify.dev/docs/api/admin-graphql/latest/objects/ChannelInformation)
Details about the sales channel that created the order, such as the [channel app type](https://shopify.dev/docs/api/admin-graphql/latest/objects/channel#field-Channel.fields.channelType) and [channel name](https://shopify.dev/docs/api/admin-graphql/latest/objects/ChannelDefinition#field-ChannelDefinition.fields.channelName), which helps to track order sources.
* clientIp
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The IP address of the customer who placed the order. Useful for fraud detection and geographic analysis.
* closed
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether an order is closed. An order is considered closed if all its line items have been fulfilled or canceled, and all financial transactions are complete.
* closedAt
[DateTime](https://shopify.dev/docs/api/admin-graphql/latest/scalars/DateTime)
The date and time [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601) when an order was closed. Shopify automatically records this timestamp when all items have been fulfilled or canceled, and all financial transactions are complete. Returns `null` if the order isn't closed.
* confirmationNumber
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
A customer-facing order identifier, often shown instead of the sequential order name. It uses a random alphanumeric format (for example, `XPAV284CT`) and isn't guaranteed to be unique across orders.
* confirmed
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether inventory has been reserved for an order. Returns `true` if inventory quantities for an order's [line items](https://shopify.dev/docs/api/admin-graphql/latest/objects/LineItem) have been reserved. Learn more about [managing inventory quantities and states](https://shopify.dev/docs/apps/build/orders-fulfillment/inventory-management-apps/manage-quantities-states).
* createdAt
[DateTime!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/DateTime)
non-null
The date and time in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601) when an order was created. This timestamp is set when the customer completes checkout and remains unchanged throughout an order's lifecycle.
* currencyCode
[CurrencyCode!](https://shopify.dev/docs/api/admin-graphql/latest/enums/CurrencyCode)
non-null
The shop currency when the order was placed. For example, "USD" or "CAD".
* currentCartDiscountAmountSet
[MoneyBag!](https://shopify.dev/docs/api/admin-graphql/latest/objects/MoneyBag)
non-null
The current total of all discounts applied to the entire order, after returns, refunds, order edits, and cancellations. This includes discount codes, automatic discounts, and other promotions that affect the whole order rather than individual line items. To get the original discount amount at the time of order creation, use the [`cartDiscountAmountSet`](https://shopify.dev/docs/api/admin-graphql/latest/objects/order#field-Order.fields.cartDiscountAmountSet) field.
* currentShippingPriceSet
[MoneyBag!](https://shopify.dev/docs/api/admin-graphql/latest/objects/MoneyBag)
non-null
The current shipping price after applying refunds and discounts. If the parent `order.taxesIncluded` field is true, then this price includes taxes. Otherwise, this field is the pre-tax price.
* currentSubtotalLineItemsQuantity
[Int!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
non-null
The current sum of the quantities for all line items that contribute to the order's subtotal price, after returns, refunds, order edits, and cancellations.
* currentSubtotalPriceSet
[MoneyBag!](https://shopify.dev/docs/api/admin-graphql/latest/objects/MoneyBag)
non-null
The total price of the order, after returns and refunds, in shop and presentment currencies. This includes taxes and discounts.
* currentTaxLines
[\[TaxLine!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/TaxLine)
non-null
A list of all tax lines applied to line items on the order, after returns. Tax line prices represent the total price for all tax lines with the same `rate` and `title`.
* currentTotalAdditionalFeesSet
[MoneyBag](https://shopify.dev/docs/api/admin-graphql/latest/objects/MoneyBag)
The current total of all additional fees for an order, after any returns or modifications. Modifications include returns, refunds, order edits, and cancellations. Additional fees can include charges such as duties, import fees, and special handling.
* currentTotalDiscountsSet
[MoneyBag!](https://shopify.dev/docs/api/admin-graphql/latest/objects/MoneyBag)
non-null
The total amount discounted on the order after returns and refunds, in shop and presentment currencies. This includes both order and line level discounts.
* currentTotalDutiesSet
[MoneyBag](https://shopify.dev/docs/api/admin-graphql/latest/objects/MoneyBag)
The current total duties amount for an order, after any returns or modifications. Modifications include returns, refunds, order edits, and cancellations.
* currentTotalPriceSet
[MoneyBag!](https://shopify.dev/docs/api/admin-graphql/latest/objects/MoneyBag)
non-null
The total price of the order, after returns, in shop and presentment currencies. This includes taxes and discounts.
* currentTotalTaxSet
[MoneyBag!](https://shopify.dev/docs/api/admin-graphql/latest/objects/MoneyBag)
non-null
The sum of the prices of all tax lines applied to line items on the order, after returns and refunds, in shop and presentment currencies.
* currentTotalWeight
[UnsignedInt64!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/UnsignedInt64)
non-null
The total weight of the order after returns and refunds, in grams.
* customAttributes
[\[Attribute!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/Attribute)
non-null
A list of additional information that has been attached to the order. For example, gift message, delivery instructions, or internal notes.
* customer
[Customer](https://shopify.dev/docs/api/admin-graphql/latest/objects/Customer)
The customer who placed an order. Returns `null` if an order was created through a checkout without customer authentication, such as a guest checkout. Learn more about [customer accounts](https://help.shopify.com/manual/customers/customer-accounts).
* customerAcceptsMarketing
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether the customer agreed to receive marketing emails at the time of purchase. Use this to ensure compliance with marketing consent laws and to segment customers for email campaigns. Learn more about [building customer segments](https://shopify.dev/docs/apps/build/marketing-analytics/customer-segments).
* customerJourneySummary
[CustomerJourneySummary](https://shopify.dev/docs/api/admin-graphql/latest/objects/CustomerJourneySummary)
The customer's visits and interactions with the online store before placing the order. Use this to understand customer behavior, attribution sources, and marketing effectiveness to optimize your sales funnel.
* customerLocale
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The customer's language and region preference at the time of purchase. For example, "en" for English, "fr-CA" for French (Canada), or "es-MX" for Spanish (Mexico). Use this to provide localized customer service and targeted marketing in the customer's preferred language.
* discountApplications
[DiscountApplicationConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/DiscountApplicationConnection)
non-null
A list of discounts that are applied to the order, excluding order edits and refunds. Includes discount codes, automatic discounts, and other promotions that reduce the order total.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
***
* discountCode
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The discount code used for an order. Returns `null` if no discount code was applied.
* discountCodes
[\[String!\]!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
non-null
The discount codes used for the order. Multiple codes can be applied to a single order.
* displayAddress
[MailingAddress](https://shopify.dev/docs/api/admin-graphql/latest/objects/MailingAddress)
The primary address of the customer, prioritizing shipping address over billing address when both are available. Returns `null` if neither shipping address nor billing address was provided.
* displayFinancialStatus
[OrderDisplayFinancialStatus](https://shopify.dev/docs/api/admin-graphql/latest/enums/OrderDisplayFinancialStatus)
An order's financial status for display in the Shopify admin.
* displayFulfillmentStatus
[OrderDisplayFulfillmentStatus!](https://shopify.dev/docs/api/admin-graphql/latest/enums/OrderDisplayFulfillmentStatus)
non-null
The order's fulfillment status that displays in the Shopify admin to merchants. For example, an order might be unfulfilled or scheduled. For detailed processing, use the [`FulfillmentOrder`](https://shopify.dev/docs/api/admin-graphql/latest/objects/FulfillmentOrder) object.
* disputes
[\[OrderDisputeSummary!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/OrderDisputeSummary)
non-null
A list of payment disputes associated with the order, such as chargebacks or payment inquiries. Disputes occur when customers challenge transactions with their bank or payment provider.
* dutiesIncluded
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether duties are included in the subtotal price of the order. Duties are import taxes charged by customs authorities when goods cross international borders.
* edited
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether the order has had any edits applied. For example, adding or removing line items, updating quantities, or changing prices.
* email
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The email address associated with the customer for this order. Used for sending order confirmations, shipping notifications, and other order-related communications. Returns `null` if no email address was provided during checkout.
* estimatedTaxes
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether taxes on the order are estimated. This field returns `false` when taxes on the order are finalized and aren't subject to any changes.
* events
[EventConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/EventConnection)
non-null
A list of events associated with the order. Events track significant changes and activities related to the order, such as creation, payment, fulfillment, and cancellation.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
* sortKey
[EventSortKeys](https://shopify.dev/docs/api/admin-graphql/latest/enums/EventSortKeys)
Default:ID
Sort the underlying list using a key. If your query is slow or returns an error, then [try specifying a sort key that matches the field used in the search](https://shopify.dev/api/usage/pagination-graphql#search-performance-considerations).
* query
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about [Shopify API search syntax](https://shopify.dev/api/usage/search-syntax).
* * action
string
* comments
boolean
* created\_at
time
* id
id
* subject\_type
string
- The action that occured.
- Example:
* `action:create`
Whether or not to include [comment-events](https://shopify.dev/api/admin-graphql/latest/objects/CommentEvent) in your search, passing `false` will exclude comment-events, any other value will include comment-events.
- Example:
* `false`
* `true`
Filter by the date and time when the event occurred. Event data is retained for 1 year.
- Example:
* `created_at:>2025-10-21`
* `created_at:=1234`
* `id:<=1234`
The resource type affected by this event. See [EventSubjectType](https://shopify.dev/api/admin-graphql/latest/enums/EventSubjectType) for possible values.
Example:
* `PRODUCT_VARIANT`
* `PRODUCT`
* `COLLECTION`
***
* fulfillable
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether there are line items that can be fulfilled. This field returns `false` when the order has no fulfillable line items. For a more granular view of the fulfillment status, refer to the [FulfillmentOrder](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentOrder) object.
* fulfillmentOrders
[FulfillmentOrderConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/FulfillmentOrderConnection)
non-null
A list of [fulfillment orders](https://shopify.dev/docs/api/admin-graphql/latest/objects/FulfillmentOrder) for an order. Each fulfillment order groups [line items](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order#field-Order.fields.lineItems) that are fulfilled together, allowing an order to be processed in parts if needed.
* displayable
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
### Arguments
If false, all fulfillment orders will be returned. If true, fulfillment orders that are normally hidden from the merchant will be excluded. For example, fulfillment orders that were closed after being combined or moved are hidden.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
* query
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about [Shopify API search syntax](https://shopify.dev/api/usage/search-syntax).
* * default
string
* assigned\_location\_id
id
- Filter by a case-insensitive search of multiple fields in a document.
- Example:
* `query=Bob Norman`
* `query=title:green hoodie`
* * id
id
* status
string
- Filter by `id` range.
- Example:
* `id:1234`
* `id:>=1234`
* `id:<=1234`
* updated\_at
time
***
* fulfillments
[\[Fulfillment!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/Fulfillment)
non-null
A list of shipments for the order. Fulfillments represent the physical shipment of products to customers.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
Truncate the array result to this size.
* query
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
Optional query string to filter fulfillments by timestamps. Examples: `created_at:>='2024-05-07T08:37:00Z' updated_at:<'2025-05-07T08:37:00Z'`, `created_at:'2024-05-07T08:37:00Z'`
***
* fulfillmentsCount
[Count](https://shopify.dev/docs/api/admin-graphql/latest/objects/Count)
The total number of fulfillments for the order, including canceled ones.
* fullyPaid
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether the order has been paid in full. This field returns `true` when the total amount received equals or exceeds the order total.
* hasTimelineComment
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether the merchant has added a timeline comment to the order.
* id
[ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
non-null
A globally-unique ID.
* legacyResourceId
[UnsignedInt64!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/UnsignedInt64)
non-null
The ID of the corresponding resource in the REST Admin API.
* lineItems
[LineItemConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/LineItemConnection)
non-null
A list of the order's line items. Line items represent the individual products and quantities that make up the order.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
***
* localizedFields
[LocalizedFieldConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/LocalizedFieldConnection)
non-null
List of localized fields for the resource.
* countryCodes
[\[CountryCode!\]](https://shopify.dev/docs/api/admin-graphql/latest/enums/CountryCode)
### Arguments
The country codes of the extensions.
* purposes
[\[LocalizedFieldPurpose!\]](https://shopify.dev/docs/api/admin-graphql/latest/enums/LocalizedFieldPurpose)
The purpose of the extensions.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
***
* merchantBusinessEntity
[BusinessEntity!](https://shopify.dev/docs/api/admin-graphql/latest/objects/BusinessEntity)
non-null
The legal business structure that the merchant operates under for this order, such as an LLC, corporation, or partnership. Used for tax reporting, legal compliance, and determining which business entity is responsible for the order.
* merchantEditable
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether the order can be edited by the merchant. Returns `false` for orders that can't be modified, such as canceled orders or orders with specific payment statuses.
* merchantEditableErrors
[\[String!\]!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
non-null
A list of reasons why the order can't be edited. For example, canceled orders can't be edited.
* merchantOfRecordApp
[OrderApp](https://shopify.dev/docs/api/admin-graphql/latest/objects/OrderApp)
The application acting as the Merchant of Record for the order. The Merchant of Record is responsible for tax collection and remittance.
* metafield
[Metafield](https://shopify.dev/docs/api/admin-graphql/latest/objects/Metafield)
A [custom field](https://shopify.dev/docs/apps/build/custom-data), including its `namespace` and `key`, that's associated with a Shopify resource for the purposes of adding and storing additional information.
* namespace
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
### Arguments
The container the metafield belongs to. If omitted, the app-reserved namespace will be used.
* key
[String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
required
The key for the metafield.
***
* metafields
[MetafieldConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/MetafieldConnection)
non-null
A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data) that a merchant associates with a Shopify resource.
* namespace
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
### Arguments
The metafield namespace to filter by. If omitted, all metafields are returned.
* keys
[\[String!\]](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
List of keys of metafields in the format `namespace.key`, will be returned in the same format.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
***
* name
[String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
non-null
The unique identifier for the order that appears on the order page in the Shopify admin and the **Order status** page. For example, "#1001", "EN1001", or "1001-A". This value isn't unique across multiple stores. Use this field to identify orders in the Shopify admin and for order tracking.
* netPaymentSet
[MoneyBag!](https://shopify.dev/docs/api/admin-graphql/latest/objects/MoneyBag)
non-null
The net payment for the order, based on the total amount received minus the total amount refunded, in shop and presentment currencies.
* nonFulfillableLineItems
[LineItemConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/LineItemConnection)
non-null
A list of line items that can't be fulfilled. For example, tips and fully refunded line items can't be fulfilled. For a more granular view of the fulfillment status, refer to the [FulfillmentOrder](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentOrder) object.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
***
* note
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The note associated with the order. Contains additional information or instructions added by merchants or customers during the order process. Commonly used for special delivery instructions, gift messages, or internal processing notes.
* number
[Int!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
non-null
The order number used to generate the name using the store's configured order number prefix/suffix. This number isn't guaranteed to follow a consecutive integer sequence (e.g. 1, 2, 3..), nor is it guaranteed to be unique across multiple stores, or even for a single store.
* originalTotalAdditionalFeesSet
[MoneyBag](https://shopify.dev/docs/api/admin-graphql/latest/objects/MoneyBag)
The total amount of all additional fees, such as import fees or taxes, that were applied when an order was created. Returns `null` if additional fees aren't applicable.
* originalTotalDutiesSet
[MoneyBag](https://shopify.dev/docs/api/admin-graphql/latest/objects/MoneyBag)
The total amount of duties calculated when an order was created, before any modifications. Modifications include returns, refunds, order edits, and cancellations. Use [`currentTotalDutiesSet`](https://shopify.dev/docs/api/admin-graphql/latest/objects/order#field-Order.fields.currentTotalDutiesSet) to retrieve the current duties amount after adjustments.
* originalTotalPriceSet
[MoneyBag!](https://shopify.dev/docs/api/admin-graphql/latest/objects/MoneyBag)
non-null
The total price of the order at the time of order creation, in shop and presentment currencies. Use this to compare the original order value against the current total after edits, returns, or refunds.
* paymentCollectionDetails
[OrderPaymentCollectionDetails!](https://shopify.dev/docs/api/admin-graphql/latest/objects/OrderPaymentCollectionDetails)
non-null
The payment collection details for the order, including payment status, outstanding amounts, and collection information. Use this to understand when and how payments should be collected, especially for orders with deferred or installment payment terms.
* paymentGatewayNames
[\[String!\]!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
non-null
A list of the names of all payment gateways used for the order. For example, "Shopify Payments" and "Cash on Delivery (COD)".
* paymentTerms
[PaymentTerms](https://shopify.dev/docs/api/admin-graphql/latest/objects/PaymentTerms)
The payment terms associated with the order, such as net payment due dates or early payment discounts. Payment terms define when and how an order should be paid. Returns `null` if no specific payment terms were set for the order.
* phone
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The phone number associated with the customer for this order. Useful for contacting customers about shipping updates, delivery notifications, or order issues. Returns `null` if no phone number was provided during checkout.
* poNumber
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The purchase order (PO) number that's associated with an order. This is typically provided by business customers who require a PO number for their procurement.
* presentmentCurrencyCode
[CurrencyCode!](https://shopify.dev/docs/api/admin-graphql/latest/enums/CurrencyCode)
non-null
The currency used by the customer when placing the order. For example, "USD", "EUR", or "CAD". This may differ from the shop's base currency when serving international customers or using multi-currency pricing.
* processedAt
[DateTime!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/DateTime)
non-null
The date and time in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601) when the order was processed. This date and time might not match the date and time when the order was created.
* productNetwork
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether the customer also purchased items from other stores in the network.
* publication
[Publication](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication)
The sales channel that the order was created from, such as the [Online Store](https://shopify.dev/docs/apps/build/app-surfaces#online-store) or [Shopify POS](https://shopify.dev/docs/apps/build/app-surfaces#point-of-sale).
* purchasingEntity
[PurchasingEntity](https://shopify.dev/docs/api/admin-graphql/latest/unions/PurchasingEntity)
The business entity that placed the order, including company details and purchasing relationships. Used for B2B transactions to track which company or organization is responsible for the purchase and payment terms.
* refundable
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether the order can be refunded based on its payment transactions. Returns `false` for orders with no eligible payment transactions, such as fully refunded orders or orders with non-refundable payment methods.
* refundDiscrepancySet
[MoneyBag!](https://shopify.dev/docs/api/admin-graphql/latest/objects/MoneyBag)
non-null
The difference between the suggested and actual refund amount of all refunds that have been applied to the order. A positive value indicates a difference in the merchant's favor, and a negative value indicates a difference in the customer's favor.
* refunds
[\[Refund!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/Refund)
non-null
A list of refunds that have been applied to the order. Refunds represent money returned to customers for returned items, cancellations, or adjustments.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
Truncate the array result to this size.
***
* registeredSourceUrl
[URL](https://shopify.dev/docs/api/admin-graphql/latest/scalars/URL)
The URL of the source that the order originated from, if found in the domain registry. Returns `null` if the source URL isn't in the domain registry.
* requiresShipping
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether the order requires physical shipping to the customer. Returns `false` for digital-only orders (such as gift cards or downloadable products) and `true` for orders with physical products that need delivery. Use this to determine shipping workflows and logistics requirements.
* restockable
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether any line items on the order can be restocked into inventory. Returns `false` for digital products, custom items, or items that can't be resold.
* retailLocation
[Location](https://shopify.dev/docs/api/admin-graphql/latest/objects/Location)
The physical location where a retail order is created or completed, except for draft POS orders completed using the "mark as paid" flow in the Shopify admin, which return `null`. Transactions associated with the order might have been processed at a different location.
* returns
[ReturnConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/ReturnConnection)
non-null
The returns associated with the order. Contains information about items that customers have requested to return, including return reasons, status, and refund details. Use this to track and manage the return process for order items.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
* query
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about [Shopify API search syntax](https://shopify.dev/api/usage/search-syntax).
* * id
id
* status
string
- Filter by `id` range.
- Example:
* `id:1234`
* `id:>=1234`
* `id:<=1234`
***
* returnStatus
[OrderReturnStatus!](https://shopify.dev/docs/api/admin-graphql/latest/enums/OrderReturnStatus)
non-null
The order's aggregated return status for display purposes. Indicates the overall state of returns for the order, helping merchants track and manage the return process.
* risk
[OrderRiskSummary!](https://shopify.dev/docs/api/admin-graphql/latest/objects/OrderRiskSummary)
non-null
The risk assessment summary for the order. Provides fraud analysis and risk scoring to help you identify potentially fraudulent orders. Use this to make informed decisions about order fulfillment and payment processing.
* shippingAddress
[MailingAddress](https://shopify.dev/docs/api/admin-graphql/latest/objects/MailingAddress)
The shipping address where the order will be delivered. Contains the customer's delivery location for fulfillment and shipping label generation. Returns `null` for digital orders or orders that don't require shipping.
* shippingLine
[ShippingLine](https://shopify.dev/docs/api/admin-graphql/latest/objects/ShippingLine)
A summary of all shipping costs on the order. Aggregates shipping charges, discounts, and taxes to provide a single view of delivery costs.
* shippingLines
[ShippingLineConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/ShippingLineConnection)
non-null
The shipping methods applied to the order. Each shipping line represents a shipping option chosen during checkout, including the carrier, service level, and cost. Use this to understand shipping charges and delivery options for the order.
* includeRemovals
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
### Arguments
Whether results should contain removed shipping lines.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
***
* shopifyProtect
[ShopifyProtectOrderSummary](https://shopify.dev/docs/api/admin-graphql/latest/objects/ShopifyProtectOrderSummary)
The Shopify Protect details for the order, including fraud protection status and coverage information. Shopify Protect helps protect eligible orders against fraudulent chargebacks. Returns `null` if Shopify Protect is disabled for the shop or the order isn't eligible for protection. Learn more about [Shopify Protect](https://www.shopify.com/protect).
* sourceIdentifier
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
A unique POS or third party order identifier. For example, "1234-12-1000" or "111-98567-54". The [`receiptNumber`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order#field-receiptNumber) field is derived from this value for POS orders.
* sourceName
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The name of the source associated with the order, such as "web", "mobile\_app", or "pos". Use this field to identify the platform where the order was placed.
* staffMember
[StaffMember](https://shopify.dev/docs/api/admin-graphql/latest/objects/StaffMember)
The staff member who created or is responsible for the order. Useful for tracking which team member handled phone orders, manual orders, or order modifications. Returns `null` for orders created directly by customers through the online store.
* statusPageUrl
[URL!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/URL)
non-null
The URL where customers can check their order's current status, including tracking information and delivery updates. Provides order tracking links in emails, apps, or customer communications.
* audience
[Audience](https://shopify.dev/docs/api/admin-graphql/latest/enums/Audience)
### Arguments
Specifies the intended audience for the status page URL.
* notificationUsage
[NotificationUsage](https://shopify.dev/docs/api/admin-graphql/latest/enums/NotificationUsage)
Specifies the intended notification usage for the status page URL.
***
* subtotalLineItemsQuantity
[Int!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
non-null
The sum of quantities for all line items that contribute to the order's subtotal price. This excludes quantities for items like tips, shipping costs, or gift cards that don't affect the subtotal. Use this to quickly understand the total item count for pricing calculations.
* subtotalPriceSet
[MoneyBag](https://shopify.dev/docs/api/admin-graphql/latest/objects/MoneyBag)
The sum of the prices for all line items after discounts and before returns, in shop and presentment currencies. If `taxesIncluded` is `true`, then the subtotal also includes tax.
* suggestedRefund
[SuggestedRefund](https://shopify.dev/docs/api/admin-graphql/latest/objects/SuggestedRefund)
A calculated refund suggestion for the order based on specified line items, shipping, and duties. Use this to preview refund amounts, taxes, and processing fees before creating an actual refund.
* shippingAmount
[Money](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Money)
### Arguments
The amount to refund for shipping. Overrides the `refundShipping` argument.
* refundShipping
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Whether to refund the full shipping amount.
* refundLineItems
[\[RefundLineItemInput!\]](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/RefundLineItemInput)
The line items from the order to include in the refund.
* refundDuties
[\[RefundDutyInput!\]](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/RefundDutyInput)
The duties from the order to include in the refund.
* suggestFullRefund
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Whether the suggested refund should be created from all refundable line items on the order. If `true`, the `refundLineItems` argument will be ignored.
* refundMethodAllocation
[RefundMethodAllocation](https://shopify.dev/docs/api/admin-graphql/latest/enums/RefundMethodAllocation)
Default:ORIGINAL\_PAYMENT\_METHODS
Specifies which refund methods to allocate the suggested refund amount to.
***
* tags
[\[String!\]!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
non-null
A comma separated list of tags associated with the order. Updating `tags` overwrites any existing tags that were previously added to the order. To add new tags without overwriting existing tags, use the [tagsAdd](https://shopify.dev/api/admin-graphql/latest/mutations/tagsadd) mutation.
* taxesIncluded
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether taxes are included in the subtotal price of the order. When `true`, the subtotal and line item prices include tax amounts. When `false`, taxes are calculated and displayed separately.
* taxExempt
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether taxes are exempt on the order. Returns `true` for orders where the customer or business has a valid tax exemption, such as non-profit organizations or tax-free purchases. Use this to understand if tax calculations were skipped during checkout.
* taxLines
[\[TaxLine!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/TaxLine)
non-null
A list of all tax lines applied to line items on the order, before returns. Tax line prices represent the total price for all tax lines with the same `rate` and `title`.
* test
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether the order is a test. Test orders are made using the Shopify Bogus Gateway or a payment provider with test mode enabled. A test order can't be converted into a real order and vice versa.
* totalCapturableSet
[MoneyBag!](https://shopify.dev/docs/api/admin-graphql/latest/objects/MoneyBag)
non-null
The authorized amount that's uncaptured or undercaptured, in shop and presentment currencies. This amount isn't adjusted for returns.
* totalCashRoundingAdjustment
[CashRoundingAdjustment!](https://shopify.dev/docs/api/admin-graphql/latest/objects/CashRoundingAdjustment)
non-null
The total rounding adjustment applied to payments or refunds for an order involving cash payments. Applies to some countries where cash transactions are rounded to the nearest currency denomination.
* totalDiscountsSet
[MoneyBag](https://shopify.dev/docs/api/admin-graphql/latest/objects/MoneyBag)
The total amount discounted on the order before returns, in shop and presentment currencies. This includes both order and line level discounts.
* totalOutstandingSet
[MoneyBag!](https://shopify.dev/docs/api/admin-graphql/latest/objects/MoneyBag)
non-null
The total amount not yet transacted for the order, in shop and presentment currencies. A positive value indicates a difference in the merchant's favor (payment from customer to merchant) and a negative value indicates a difference in the customer's favor (refund from merchant to customer).
* totalPriceSet
[MoneyBag!](https://shopify.dev/docs/api/admin-graphql/latest/objects/MoneyBag)
non-null
The total price of the order, before returns, in shop and presentment currencies. This includes taxes and discounts.
* totalReceivedSet
[MoneyBag!](https://shopify.dev/docs/api/admin-graphql/latest/objects/MoneyBag)
non-null
The total amount received from the customer before returns, in shop and presentment currencies.
* totalRefundedSet
[MoneyBag!](https://shopify.dev/docs/api/admin-graphql/latest/objects/MoneyBag)
non-null
The total amount that was refunded, in shop and presentment currencies.
* totalRefundedShippingSet
[MoneyBag!](https://shopify.dev/docs/api/admin-graphql/latest/objects/MoneyBag)
non-null
The total amount of shipping that was refunded, in shop and presentment currencies.
* totalShippingPriceSet
[MoneyBag!](https://shopify.dev/docs/api/admin-graphql/latest/objects/MoneyBag)
non-null
The total shipping costs returned to the customer, in shop and presentment currencies. This includes fees and any related discounts that were refunded.
* totalTaxSet
[MoneyBag](https://shopify.dev/docs/api/admin-graphql/latest/objects/MoneyBag)
The total tax amount before returns, in shop and presentment currencies.
* totalTipReceivedSet
[MoneyBag!](https://shopify.dev/docs/api/admin-graphql/latest/objects/MoneyBag)
non-null
The sum of all tip amounts for the order, in shop and presentment currencies.
* totalWeight
[UnsignedInt64](https://shopify.dev/docs/api/admin-graphql/latest/scalars/UnsignedInt64)
The total weight of the order before returns, in grams.
* transactions
[\[OrderTransaction!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/OrderTransaction)
non-null
A list of transactions associated with the order.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
Truncate the array result to this size.
* capturable
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Filter transactions by whether they are capturable.
* manuallyResolvable
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Filter transactions by whether they can be resolved manually. For example, fully captured or voided transactions aren't manually resolvable.
***
* transactionsCount
[Count](https://shopify.dev/docs/api/admin-graphql/latest/objects/Count)
The number of transactions associated with the order.
* unpaid
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether no payments have been made for the order.
* updatedAt
[DateTime!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/DateTime)
non-null
The date and time in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601) when the order was last modified.
* cartDiscountAmount
[Money](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Money)
Deprecated
* channel
[Channel](https://shopify.dev/docs/api/admin-graphql/latest/objects/Channel)
Deprecated
* customerJourney
[CustomerJourney](https://shopify.dev/docs/api/admin-graphql/latest/objects/CustomerJourney)
Deprecated
* landingPageDisplayText
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
Deprecated
* landingPageUrl
[URL](https://shopify.dev/docs/api/admin-graphql/latest/scalars/URL)
Deprecated
* localizationExtensions
[LocalizationExtensionConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/LocalizationExtensionConnection)
non-nullDeprecated
* countryCodes
[\[CountryCode!\]](https://shopify.dev/docs/api/admin-graphql/latest/enums/CountryCode)
### Arguments
The country codes of the extensions.
* purposes
[\[LocalizationExtensionPurpose!\]](https://shopify.dev/docs/api/admin-graphql/latest/enums/LocalizationExtensionPurpose)
The purpose of the extensions.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
***
* metafieldDefinitions
[MetafieldDefinitionConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/MetafieldDefinitionConnection)
non-nullDeprecated
* namespace
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
### Arguments
Filter metafield definitions by namespace.
* pinnedStatus
[MetafieldDefinitionPinnedStatus](https://shopify.dev/docs/api/admin-graphql/latest/enums/MetafieldDefinitionPinnedStatus)
Default:ANY
Filter by the definition's pinned status.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
* sortKey
[MetafieldDefinitionSortKeys](https://shopify.dev/docs/api/admin-graphql/latest/enums/MetafieldDefinitionSortKeys)
Default:ID
Sort the underlying list using a key. If your query is slow or returns an error, then [try specifying a sort key that matches the field used in the search](https://shopify.dev/api/usage/pagination-graphql#search-performance-considerations).
* query
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about [Shopify API search syntax](https://shopify.dev/api/usage/search-syntax).
* * default
string
* created\_at
time
* id
id
* key
string
* namespace
string
* owner\_type
string
* type
string
* updated\_at
time
- Filter by a case-insensitive search of multiple fields in a document.
- Example:
* `query=Bob Norman`
* `query=title:green hoodie`
Filter by the date and time when the metafield definition was created.
- Example:
* `created_at:>2020-10-21T23:39:20Z`
* `created_at:=1234`
* `id:<=1234`
Filter by the metafield definition [`key`](https://shopify.dev/docs/api/admin-graphql/latest/objects/MetafieldDefinition#field-key) field.
- Example:
* `key:some-key`
Filter by the metafield definition [`namespace`](https://shopify.dev/docs/api/admin-graphql/latest/objects/MetafieldDefinition#field-namespace) field.
- Example:
* `namespace:some-namespace`
Filter by the metafield definition [`ownerType`](https://shopify.dev/docs/api/admin-graphql/latest/objects/MetafieldDefinition#field-ownertype) field.
- Example:
* `owner_type:PRODUCT`
Filter by the metafield definition [`type`](https://shopify.dev/docs/api/admin-graphql/latest/objects/MetafieldDefinition#field-type) field.
- Example:
* `type:single_line_text_field`
Filter by the date and time when the metafield definition was last updated.
Example:
* `updated_at:>2020-10-21T23:39:20Z`
* `updated_at:discount tutorials\ instead. These will replace the GraphQL Admin API\'s \\\Price\Rule\\\ object and \\\Discount\Code\\\ union, and the REST Admin API\'s deprecated\\\Price\Rule\\\ resource.
***
* allocationLimit
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The maximum number of times that the price rule can be allocated onto an order.
* allocationMethod
[PriceRuleAllocationMethod!](https://shopify.dev/docs/api/admin-graphql/latest/enums/PriceRuleAllocationMethod)
non-null
The method by which the price rule's value is allocated to its entitled items.
* app
[App](https://shopify.dev/docs/api/admin-graphql/latest/objects/App)
The application that created the price rule.
* combinesWith
[DiscountCombinesWith!](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCombinesWith)
non-null
The [discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) that you can use in combination with [Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).
* createdAt
[DateTime!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/DateTime)
non-null
The date and time when the price rule was created.
* customerSelection
[PriceRuleCustomerSelection!](https://shopify.dev/docs/api/admin-graphql/latest/objects/PriceRuleCustomerSelection)
non-null
The customers that can use this price rule.
* discountClasses
[\[DiscountClass!\]!](https://shopify.dev/docs/api/admin-graphql/latest/enums/DiscountClass)
non-null
The classes of the discount.
* discountCodes
[PriceRuleDiscountCodeConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/PriceRuleDiscountCodeConnection)
non-null
List of the price rule's discount codes.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
* sortKey
[DiscountCodeSortKeys](https://shopify.dev/docs/api/admin-graphql/latest/enums/DiscountCodeSortKeys)
Default:ID
Sort the underlying list using a key. If your query is slow or returns an error, then [try specifying a sort key that matches the field used in the search](https://shopify.dev/api/usage/pagination-graphql#search-performance-considerations).
* query
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about [Shopify API search syntax](https://shopify.dev/api/usage/search-syntax).
* * default
string
* id
id
* times\_used
integer
- Filter by a case-insensitive search of multiple fields in a document.
- Example:
* `query=Bob Norman`
* `query=title:green hoodie`
Filter by `id` range.
- Example:
* `id:1234`
* `id:>=1234`
* `id:<=1234`
* savedSearchId
[ID](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
The ID of a [saved search](https://shopify.dev/api/admin-graphql/latest/objects/savedsearch#field-id). The search’s query string is used as the query argument.
***
* discountCodesCount
[Count](https://shopify.dev/docs/api/admin-graphql/latest/objects/Count)
How many discount codes associated with the price rule.
* endsAt
[DateTime](https://shopify.dev/docs/api/admin-graphql/latest/scalars/DateTime)
The date and time when the price rule ends. For open-ended price rules, use `null`.
* events
[EventConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/EventConnection)
non-null
The paginated list of events associated with the price rule.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
* sortKey
[EventSortKeys](https://shopify.dev/docs/api/admin-graphql/latest/enums/EventSortKeys)
Default:ID
Sort the underlying list using a key. If your query is slow or returns an error, then [try specifying a sort key that matches the field used in the search](https://shopify.dev/api/usage/pagination-graphql#search-performance-considerations).
* query
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about [Shopify API search syntax](https://shopify.dev/api/usage/search-syntax).
* * action
string
* comments
boolean
* created\_at
time
* id
id
* subject\_type
string
- The action that occured.
- Example:
* `action:create`
Whether or not to include [comment-events](https://shopify.dev/api/admin-graphql/latest/objects/CommentEvent) in your search, passing `false` will exclude comment-events, any other value will include comment-events.
- Example:
* `false`
* `true`
Filter by the date and time when the event occurred. Event data is retained for 1 year.
- Example:
* `created_at:>2025-10-21`
* `created_at:=1234`
* `id:<=1234`
The resource type affected by this event. See [EventSubjectType](https://shopify.dev/api/admin-graphql/latest/enums/EventSubjectType) for possible values.
Example:
* `PRODUCT_VARIANT`
* `PRODUCT`
* `COLLECTION`
***
* features
[\[PriceRuleFeature!\]!](https://shopify.dev/docs/api/admin-graphql/latest/enums/PriceRuleFeature)
non-null
A list of the price rule's features.
* hasTimelineComment
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Indicates whether there are any timeline comments on the price rule.
* id
[ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
non-null
A globally-unique ID.
* itemEntitlements
[PriceRuleItemEntitlements!](https://shopify.dev/docs/api/admin-graphql/latest/objects/PriceRuleItemEntitlements)
non-null
The items to which the price rule applies.
* itemPrerequisites
[PriceRuleLineItemPrerequisites!](https://shopify.dev/docs/api/admin-graphql/latest/objects/PriceRuleLineItemPrerequisites)
non-null
The items required for the price rule to be applicable.
* legacyResourceId
[UnsignedInt64!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/UnsignedInt64)
non-null
The ID of the corresponding resource in the REST Admin API.
* oncePerCustomer
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether the price rule can be applied only once per customer.
* prerequisiteQuantityRange
[PriceRuleQuantityRange](https://shopify.dev/docs/api/admin-graphql/latest/objects/PriceRuleQuantityRange)
The number of the entitled items must fall within this range for the price rule to be applicable.
* prerequisiteShippingPriceRange
[PriceRuleMoneyRange](https://shopify.dev/docs/api/admin-graphql/latest/objects/PriceRuleMoneyRange)
The shipping cost must fall within this range for the price rule to be applicable.
* prerequisiteSubtotalRange
[PriceRuleMoneyRange](https://shopify.dev/docs/api/admin-graphql/latest/objects/PriceRuleMoneyRange)
The sum of the entitled items subtotal prices must fall within this range for the price rule to be applicable.
* prerequisiteToEntitlementQuantityRatio
[PriceRulePrerequisiteToEntitlementQuantityRatio](https://shopify.dev/docs/api/admin-graphql/latest/objects/PriceRulePrerequisiteToEntitlementQuantityRatio)
Quantity of prerequisite items required for the price rule to be applicable, compared to quantity of entitled items.
* shareableUrls
[\[PriceRuleShareableUrl!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/PriceRuleShareableUrl)
non-null
URLs that can be used to share the discount.
* shippingEntitlements
[PriceRuleShippingLineEntitlements!](https://shopify.dev/docs/api/admin-graphql/latest/objects/PriceRuleShippingLineEntitlements)
non-null
The shipping lines to which the price rule applies.
* startsAt
[DateTime!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/DateTime)
non-null
The date and time when the price rule starts.
* status
[PriceRuleStatus!](https://shopify.dev/docs/api/admin-graphql/latest/enums/PriceRuleStatus)
non-null
The status of the price rule.
* summary
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
A detailed summary of the price rule.
* target
[PriceRuleTarget!](https://shopify.dev/docs/api/admin-graphql/latest/enums/PriceRuleTarget)
non-null
The type of lines (line\_item or shipping\_line) to which the price rule applies.
* title
[String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
non-null
The title of the price rule.
* totalSales
[MoneyV2](https://shopify.dev/docs/api/admin-graphql/latest/objects/MoneyV2)
The total sales from orders where the price rule was used.
* usageCount
[Int!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
non-null
The number of times that the price rule has been used. This value is updated asynchronously and can be different than the actual usage count.
* usageLimit
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The maximum number of times that the price rule can be used in total.
* validityPeriod
[PriceRuleValidityPeriod!](https://shopify.dev/docs/api/admin-graphql/latest/objects/PriceRuleValidityPeriod)
non-null
A time period during which a price rule is applicable.
* valueV2
[PricingValue!](https://shopify.dev/docs/api/admin-graphql/latest/unions/PricingValue)
non-null
The value of the price rule.
* discountClass
[DiscountClass!](https://shopify.dev/docs/api/admin-graphql/latest/enums/DiscountClass)
non-nullDeprecated
* entitlementToPrerequisiteQuantityRatio
[PriceRuleEntitlementToPrerequisiteQuantityRatio](https://shopify.dev/docs/api/admin-graphql/latest/objects/PriceRuleEntitlementToPrerequisiteQuantityRatio)
Deprecated
* traits
[\[PriceRuleTrait!\]!](https://shopify.dev/docs/api/admin-graphql/latest/enums/PriceRuleTrait)
non-nullDeprecated
* value
[PriceRuleValue!](https://shopify.dev/docs/api/admin-graphql/latest/unions/PriceRuleValue)
non-nullDeprecated
* [Product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product)
OBJECT
The `Product` object lets you manage products in a merchant’s store.
Products are the goods and services that merchants offer to customers. They can include various details such as title, description, price, images, and options such as size or color. You can use [product variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/productvariant) to create or update different versions of the same product. You can also add or update product [media](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/media). Products can be organized by grouping them into a [collection](https://shopify.dev/docs/api/admin-graphql/latest/objects/collection).
Learn more about working with [Shopify's product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/product-model-components), including limitations and considerations.
* availablePublicationsCount
[Count](https://shopify.dev/docs/api/admin-graphql/latest/objects/Count)
The number of [publications](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication) that a resource is published to, without [feedback errors](https://shopify.dev/docs/api/admin-graphql/latest/objects/ResourceFeedback).
* bundleComponents
[ProductBundleComponentConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/ProductBundleComponentConnection)
non-null
A list of [components](https://shopify.dev/docs/apps/build/product-merchandising/bundles/add-product-fixed-bundle) that are associated with a product in a bundle.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
***
* bundleConsolidatedOptions
[\[ComponentizedProductsBundleConsolidatedOption!\]](https://shopify.dev/docs/api/admin-graphql/latest/objects/ComponentizedProductsBundleConsolidatedOption)
A list of consolidated options for a product in a bundle.
* category
[TaxonomyCategory](https://shopify.dev/docs/api/admin-graphql/latest/objects/TaxonomyCategory)
The category of a product from [Shopify's Standard Product Taxonomy](https://shopify.github.io/product-taxonomy/releases/unstable/?categoryId=sg-4-17-2-17).
* collections
[CollectionConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/CollectionConnection)
non-null
A list of [collections](https://shopify.dev/docs/api/admin-graphql/latest/objects/Collection) that include the product.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
* sortKey
[CollectionSortKeys](https://shopify.dev/docs/api/admin-graphql/latest/enums/CollectionSortKeys)
Default:ID
Sort the underlying list using a key. If your query is slow or returns an error, then [try specifying a sort key that matches the field used in the search](https://shopify.dev/api/usage/pagination-graphql#search-performance-considerations).
* query
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about [Shopify API search syntax](https://shopify.dev/api/usage/search-syntax).
* * default
string
* collection\_type
string
* handle
string
- Filter by a case-insensitive search of multiple fields in a document.
- Example:
* `query=Bob Norman`
* `query=title:green hoodie`
- Valid values:
* `custom`
* `smart`
* * id
id
* product\_id
id
- Filter by `id` range.
- Example:
* `id:1234`
* `id:>=1234`
* `id:<=1234`
Filter by collections containing a product by its ID.
* * product\_publication\_status
string
* publishable\_status
string
* published\_at
time
- Filter by channel approval process status of the resource on a channel, such as the online store. The value is a composite of the [channel `app` ID](https://shopify.dev/api/admin-graphql/latest/objects/Channel#field-Channel.fields.app) (`Channel.app.id`) and one of the valid values. For simple visibility checks, use [published\_status](https://shopify.dev/api/admin-graphql/latest/queries/products#argument-query-filter-publishable_status) instead.
- Valid values:
* `* {channel_app_id}-approved`
* `* {channel_app_id}-rejected`
* `* {channel_app_id}-needs_action`
* `* {channel_app_id}-awaiting_review`
* `* {channel_app_id}-published`
* `* {channel_app_id}-demoted`
* `* {channel_app_id}-scheduled`
* `* {channel_app_id}-provisionally_published`
Example:
* `product_publication_status:189769876-approved`
**Deprecated:** This parameter is deprecated as of 2025-12 and will be removed in a future API version. Use [published\_status](https://shopify.dev/api/admin-graphql/latest/queries/products#argument-query-filter-publishable_status) for visibility checks. Filter by the publishable status of the resource on a channel. The value is a composite of the [channel `app` ID](https://shopify.dev/api/admin-graphql/latest/objects/Channel#app-price) (`Channel.app.id`) and one of the valid status values.
- Valid values:
* `* {channel_app_id}-unset`
* `* {channel_app_id}-pending`
* `* {channel_app_id}-approved`
* `* {channel_app_id}-not_approved`
Example:
* `publishable_status:580111-unset`
* `publishable_status:580111-pending`
Filter by the date and time when the collection was published to the Online Store.
* * published\_status
string
* title
string
- Filter resources by their visibility and publication state on a channel. Online store channel filtering: - `online_store_channel`: Returns all resources in the online store channel, regardless of publication status. - `published`/`visible`: Returns resources that are published to the online store. - `unpublished`: Returns resources that are not published to the online store. Channel-specific filtering using the [channel `app` ID](https://shopify.dev/api/admin-graphql/latest/objects/Channel#app-price) (`Channel.app.id`) with suffixes: - `{channel_app_id}-published`: Returns resources published to the specified channel. - `{channel_app_id}-visible`: Same as `{channel_app_id}-published` (kept for backwards compatibility). - `{channel_app_id}-intended`: Returns resources added to the channel but not yet published. - `{channel_app_id}-hidden`: Returns resources not added to the channel or not published. Other: - `unavailable`: Returns resources not published to any channel.
- Valid values:
* `online_store_channel`
* `published`
* `visible`
* `unpublished`
* `* {channel_app_id}-published`
* `* {channel_app_id}-visible`
* `* {channel_app_id}-intended`
* `* {channel_app_id}-hidden`
* `unavailable`
Example:
* `published_status:online_store_channel`
* `published_status:published`
* `published_status:580111-published`
* `published_status:580111-hidden`
* `published_status:unavailable`
* updated\_at
time
***
* combinedListing
[CombinedListing](https://shopify.dev/docs/api/admin-graphql/latest/objects/CombinedListing)
A special product type that combines separate products from a store into a single product listing. [Combined listings](https://shopify.dev/apps/build/product-merchandising/combined-listings) are connected by a shared option, such as color, model, or dimension.
* combinedListingRole
[CombinedListingsRole](https://shopify.dev/docs/api/admin-graphql/latest/enums/CombinedListingsRole)
The [role of the product](https://shopify.dev/docs/apps/build/product-merchandising/combined-listings/build-for-combined-listings) in a combined listing.
If `null`, then the product isn't part of any combined listing.
* compareAtPriceRange
[ProductCompareAtPriceRange](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductCompareAtPriceRange)
The [compare-at price range](https://help.shopify.com/manual/products/details/product-pricing/sale-pricing) of the product in the shop's default currency.
* contextualPricing
[ProductContextualPricing!](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductContextualPricing)
non-null
The pricing that applies to a customer in a specific context. For example, a price might vary depending on the customer's location. Only active markets are considered in the price resolution.
* context
[ContextualPricingContext!](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/ContextualPricingContext)
required
### Arguments
The context used to generate contextual pricing for the variant.
***
* createdAt
[DateTime!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/DateTime)
non-null
The date and time when the product was created.
* defaultCursor
[String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
non-null
A default [cursor](https://shopify.dev/api/usage/pagination-graphql) that returns the single next record, sorted ascending by ID.
* description
[String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
non-null
A single-line description of the product, with [HTML tags](https://developer.mozilla.org/en-US/docs/Web/HTML) removed.
* truncateAt
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
Truncates a string after the given length.
***
* descriptionHtml
[HTML!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/HTML)
non-null
The description of the product, with HTML tags. For example, the description might include bold `` and italic `` text.
* events
[EventConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/EventConnection)
non-null
The paginated list of events associated with the host subject.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
* sortKey
[EventSortKeys](https://shopify.dev/docs/api/admin-graphql/latest/enums/EventSortKeys)
Default:ID
Sort the underlying list using a key. If your query is slow or returns an error, then [try specifying a sort key that matches the field used in the search](https://shopify.dev/api/usage/pagination-graphql#search-performance-considerations).
* query
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about [Shopify API search syntax](https://shopify.dev/api/usage/search-syntax).
* * action
string
* comments
boolean
* created\_at
time
* id
id
* subject\_type
string
- The action that occured.
- Example:
* `action:create`
Whether or not to include [comment-events](https://shopify.dev/api/admin-graphql/latest/objects/CommentEvent) in your search, passing `false` will exclude comment-events, any other value will include comment-events.
- Example:
* `false`
* `true`
Filter by the date and time when the event occurred. Event data is retained for 1 year.
- Example:
* `created_at:>2025-10-21`
* `created_at:=1234`
* `id:<=1234`
The resource type affected by this event. See [EventSubjectType](https://shopify.dev/api/admin-graphql/latest/enums/EventSubjectType) for possible values.
Example:
* `PRODUCT_VARIANT`
* `PRODUCT`
* `COLLECTION`
***
* featuredMedia
[Media](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/Media)
The featured [media](https://shopify.dev/docs/apps/build/online-store/product-media) associated with the product.
* feedback
[ResourceFeedback](https://shopify.dev/docs/api/admin-graphql/latest/objects/ResourceFeedback)
The information that lets merchants know what steps they need to take to make sure that the app is set up correctly.
For example, if a merchant hasn't set up a product correctly in the app, then the feedback might include a message that says "You need to add a price to this product".
* giftCardTemplateSuffix
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The [theme template](https://shopify.dev/docs/storefronts/themes/architecture/templates) that's used when customers view the gift card in a store.
* handle
[String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
non-null
A unique, human-readable string of the product's title. A handle can contain letters, hyphens (`-`), and numbers, but no spaces. The handle is used in the online store URL for the product.
* hasOnlyDefaultVariant
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether the product has only a single variant with the default option and value.
* hasOutOfStockVariants
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether the product has variants that are out of stock.
* hasVariantsThatRequiresComponents
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether at least one of the product variants requires [bundle components](https://shopify.dev/docs/apps/build/product-merchandising/bundles/add-product-fixed-bundle).
Learn more about [store eligibility for bundles](https://shopify.dev/docs/apps/build/product-merchandising/bundles#store-eligibility).
* id
[ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
non-null
A globally-unique ID.
* inCollection
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether the product is in a specified [collection](https://shopify.dev/docs/api/admin-graphql/latest/objects/collection).
* id
[ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
required
### Arguments
The ID of the collection to check. For example, `id: "gid://shopify/Collection/123"`.
***
* isGiftCard
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether the product is a gift card.
* legacyResourceId
[UnsignedInt64!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/UnsignedInt64)
non-null
The ID of the corresponding resource in the REST Admin API.
* media
[MediaConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/MediaConnection)
non-null
The [media](https://shopify.dev/docs/apps/build/online-store/product-media) associated with the product. Valid media are images, 3D models, videos.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
* sortKey
[ProductMediaSortKeys](https://shopify.dev/docs/api/admin-graphql/latest/enums/ProductMediaSortKeys)
Default:POSITION
Sort the underlying list using a key. If your query is slow or returns an error, then [try specifying a sort key that matches the field used in the search](https://shopify.dev/api/usage/pagination-graphql#search-performance-considerations).
* query
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about [Shopify API search syntax](https://shopify.dev/api/usage/search-syntax).
* * id
id
* media\_type
string
- Filter by `id` range.
- Example:
* `id:1234`
* `id:>=1234`
* `id:<=1234`
Valid values:
* `IMAGE`
* `VIDEO`
* `MODEL_3D`
* `EXTERNAL_VIDEO`
***
* mediaCount
[Count](https://shopify.dev/docs/api/admin-graphql/latest/objects/Count)
The total count of [media](https://shopify.dev/docs/apps/build/online-store/product-media) that's associated with a product.
* metafield
[Metafield](https://shopify.dev/docs/api/admin-graphql/latest/objects/Metafield)
A [custom field](https://shopify.dev/docs/apps/build/custom-data), including its `namespace` and `key`, that's associated with a Shopify resource for the purposes of adding and storing additional information.
* namespace
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
### Arguments
The container the metafield belongs to. If omitted, the app-reserved namespace will be used.
* key
[String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
required
The key for the metafield.
***
* metafields
[MetafieldConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/MetafieldConnection)
non-null
A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data) that a merchant associates with a Shopify resource.
* namespace
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
### Arguments
The metafield namespace to filter by. If omitted, all metafields are returned.
* keys
[\[String!\]](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
List of keys of metafields in the format `namespace.key`, will be returned in the same format.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
***
* onlineStorePreviewUrl
[URL](https://shopify.dev/docs/api/admin-graphql/latest/scalars/URL)
The [preview URL](https://help.shopify.com/manual/online-store/setting-up#preview-your-store) for the online store.
* onlineStoreUrl
[URL](https://shopify.dev/docs/api/admin-graphql/latest/scalars/URL)
The product's URL on the online store. If `null`, then the product isn't published to the online store sales channel.
* options
[\[ProductOption!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductOption)
non-null
A list of product options. The limit is defined by the [shop's resource limits for product options](https://shopify.dev/docs/api/admin-graphql/latest/objects/Shop#field-resourcelimits) (`Shop.resourceLimits.maxProductOptions`).
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
Truncate the array result to this size.
***
* priceRangeV2
[ProductPriceRangeV2!](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductPriceRangeV2)
non-null
The minimum and maximum prices of a product, expressed in decimal numbers. For example, if the product is priced between $10.00 and $50.00, then the price range is $10.00 - $50.00.
* productComponents
[ProductComponentTypeConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/ProductComponentTypeConnection)
non-null
A list of products that contain at least one variant associated with at least one of the current products' variants via group relationship.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
***
* productComponentsCount
[Count](https://shopify.dev/docs/api/admin-graphql/latest/objects/Count)
A count of unique products that contain at least one variant associated with at least one of the current products' variants via group relationship.
* productParents
[ProductConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/ProductConnection)
non-null
A list of products that has a variant that contains any of this product's variants as a component.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
* query
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about [Shopify API search syntax](https://shopify.dev/api/usage/search-syntax).
* * default
string
* barcode
string
* bundles
boolean
* category\_id
string
* collection\_id
id
* combined\_listing\_role
string
* created\_at
time
* delivery\_profile\_id
id
* error\_feedback
string
- Filter by a case-insensitive search of multiple fields in a document.
- Example:
* `query=Bob Norman`
* `query=title:green hoodie`
Filter by the product variant [`barcode`](https://shopify.dev/api/admin-graphql/latest/objects/ProductVariant#field-barcode) field.
- Example:
* `barcode:ABC-abc-1234`
Filter by a [product bundle](https://shopify.dev/docs/apps/build/product-merchandising/bundles). A product bundle is a set of two or more related products, which are commonly offered at a discount.
- Example:
* `bundles:true`
Filter by the product [category ID](https://shopify.dev/api/admin-graphql/latest/objects/Product#field-category) (`product.category.id`). A product category is the category of a product from [Shopify's Standard Product Taxonomy](https://shopify.github.io/product-taxonomy/releases/unstable/?categoryId=sg-4-17-2-17).
- Example:
* `category_id:sg-4-17-2-17`
Filter by the collection [`id`](https://shopify.dev/api/admin-graphql/latest/objects/Collection#field-id) field.
- Example:
* `collection_id:108179161409`
Filter by the role of the product in a [combined listing](https://shopify.dev/apps/build/product-merchandising/combined-listings).
- Valid values:
* `parent`
* `child`
* `no_role`
Example:
* `combined_listing_role:parent`
Filter by the date and time when the product was created.
- Example:
* `created_at:>'2020-10-21T23:39:20Z'`
* `created_at:=1234`
* `id:<=1234`
Filter by inventory count.
- Example:
* `inventory_total:0`
* `inventory_total:>150`
* `inventory_total:>=200`
Filter by products that have a reduced price. For more information, refer to the [`CollectionRule`](https://shopify.dev/api/admin-graphql/latest/objects/CollectionRule) object.
- Example:
* `is_price_reduced:true`
Filters resources by metafield value. Format: `metafields.{namespace}.{key}:{value}`. Learn more about [querying by metafield value](https://shopify.dev/apps/build/custom-data/metafields/query-by-metafield-value).
- Example:
* `metafields.custom.on_sale:true`
* `metafields.product.material:"gid://shopify/Metaobject/43458085"`
Filter by products that are out of stock in at least one location.
- Example:
* `out_of_stock_somewhere:true`
Filter by the product variant [`price`](https://shopify.dev/api/admin-graphql/latest/objects/Productvariant#field-price) field.
- Example:
* `price:100.57`
Filter by the app [`id`](https://shopify.dev/api/admin-graphql/latest/objects/App#field-id) field.
- Example:
* `product_configuration_owner:10001`
Filter by channel approval process status of the resource on a channel, such as the online store. The value is a composite of the [channel `app` ID](https://shopify.dev/api/admin-graphql/latest/objects/Channel#field-Channel.fields.app) (`Channel.app.id`) and one of the valid values. For simple visibility checks, use [published\_status](https://shopify.dev/api/admin-graphql/latest/queries/products#argument-query-filter-publishable_status) instead.
- Valid values:
* `* {channel_app_id}-approved`
* `* {channel_app_id}-rejected`
* `* {channel_app_id}-needs_action`
* `* {channel_app_id}-awaiting_review`
* `* {channel_app_id}-published`
* `* {channel_app_id}-demoted`
* `* {channel_app_id}-scheduled`
* `* {channel_app_id}-provisionally_published`
Example:
* `product_publication_status:189769876-approved`
Filter by a comma-separated list of [product types](https://help.shopify.com/manual/products/details/product-type).
- Example:
* `product_type:snowboard`
Filter by a comma-separated list of publication IDs that are associated with the product.
- Example:
* `publication_ids:184111530305,184111694145`
**Deprecated:** This parameter is deprecated as of 2025-12 and will be removed in a future API version. Use [published\_status](https://shopify.dev/api/admin-graphql/latest/queries/products#argument-query-filter-publishable_status) for visibility checks. Filter by the publishable status of the resource on a channel. The value is a composite of the [channel `app` ID](https://shopify.dev/api/admin-graphql/latest/objects/Channel#app-price) (`Channel.app.id`) and one of the valid status values.
- Valid values:
* `* {channel_app_id}-unset`
* `* {channel_app_id}-pending`
* `* {channel_app_id}-approved`
* `* {channel_app_id}-not_approved`
Example:
* `publishable_status:580111-unset`
* `publishable_status:580111-pending`
Filter by the date and time when the product was published to the online store and other sales channels.
- Example:
* `published_at:>2020-10-21T23:39:20Z`
* `published_at:'2020-10-21T23:39:20Z'`
* `updated_at:2020-10-21T23:39:20Z`
* `created_at:=1234`
* `id:<=1234`
Filter by the metafield definition [`key`](https://shopify.dev/docs/api/admin-graphql/latest/objects/MetafieldDefinition#field-key) field.
- Example:
* `key:some-key`
Filter by the metafield definition [`namespace`](https://shopify.dev/docs/api/admin-graphql/latest/objects/MetafieldDefinition#field-namespace) field.
- Example:
* `namespace:some-namespace`
Filter by the metafield definition [`ownerType`](https://shopify.dev/docs/api/admin-graphql/latest/objects/MetafieldDefinition#field-ownertype) field.
- Example:
* `owner_type:PRODUCT`
Filter by the metafield definition [`type`](https://shopify.dev/docs/api/admin-graphql/latest/objects/MetafieldDefinition#field-type) field.
- Example:
* `type:single_line_text_field`
Filter by the date and time when the metafield definition was last updated.
Example:
* `updated_at:>2020-10-21T23:39:20Z`
* `updated_at:2025-10-21`
* `created_at:=1234`
* `id:<=1234`
The resource type affected by this event. See [EventSubjectType](https://shopify.dev/api/admin-graphql/latest/enums/EventSubjectType) for possible values.
Example:
* `PRODUCT_VARIANT`
* `PRODUCT`
* `COLLECTION`
***
* id
[ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
non-null
A globally-unique ID.
* inventoryItem
[InventoryItem!](https://shopify.dev/docs/api/admin-graphql/latest/objects/InventoryItem)
non-null
The inventory item, which is used to query for inventory information.
* inventoryPolicy
[ProductVariantInventoryPolicy!](https://shopify.dev/docs/api/admin-graphql/latest/enums/ProductVariantInventoryPolicy)
non-null
Whether customers are allowed to place an order for the product variant when it's out of stock.
* inventoryQuantity
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The total sellable quantity of the variant.
* legacyResourceId
[UnsignedInt64!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/UnsignedInt64)
non-null
The ID of the corresponding resource in the REST Admin API.
* media
[MediaConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/MediaConnection)
non-null
The media associated with the product variant.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
***
* metafield
[Metafield](https://shopify.dev/docs/api/admin-graphql/latest/objects/Metafield)
A [custom field](https://shopify.dev/docs/apps/build/custom-data), including its `namespace` and `key`, that's associated with a Shopify resource for the purposes of adding and storing additional information.
* namespace
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
### Arguments
The container the metafield belongs to. If omitted, the app-reserved namespace will be used.
* key
[String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
required
The key for the metafield.
***
* metafields
[MetafieldConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/MetafieldConnection)
non-null
A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data) that a merchant associates with a Shopify resource.
* namespace
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
### Arguments
The metafield namespace to filter by. If omitted, all metafields are returned.
* keys
[\[String!\]](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
List of keys of metafields in the format `namespace.key`, will be returned in the same format.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
***
* position
[Int!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
non-null
The order of the product variant in the list of product variants. The first position in the list is 1.
* price
[Money!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Money)
non-null
The price of the product variant in the default shop currency.
* product
[Product!](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product)
non-null
The product that this variant belongs to.
* productParents
[ProductConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/ProductConnection)
non-null
A list of products that have product variants that contain this variant as a product component.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
* query
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about [Shopify API search syntax](https://shopify.dev/api/usage/search-syntax).
* * default
string
* barcode
string
* bundles
boolean
* category\_id
string
* collection\_id
id
* combined\_listing\_role
string
* created\_at
time
* delivery\_profile\_id
id
* error\_feedback
string
- Filter by a case-insensitive search of multiple fields in a document.
- Example:
* `query=Bob Norman`
* `query=title:green hoodie`
Filter by the product variant [`barcode`](https://shopify.dev/api/admin-graphql/latest/objects/ProductVariant#field-barcode) field.
- Example:
* `barcode:ABC-abc-1234`
Filter by a [product bundle](https://shopify.dev/docs/apps/build/product-merchandising/bundles). A product bundle is a set of two or more related products, which are commonly offered at a discount.
- Example:
* `bundles:true`
Filter by the product [category ID](https://shopify.dev/api/admin-graphql/latest/objects/Product#field-category) (`product.category.id`). A product category is the category of a product from [Shopify's Standard Product Taxonomy](https://shopify.github.io/product-taxonomy/releases/unstable/?categoryId=sg-4-17-2-17).
- Example:
* `category_id:sg-4-17-2-17`
Filter by the collection [`id`](https://shopify.dev/api/admin-graphql/latest/objects/Collection#field-id) field.
- Example:
* `collection_id:108179161409`
Filter by the role of the product in a [combined listing](https://shopify.dev/apps/build/product-merchandising/combined-listings).
- Valid values:
* `parent`
* `child`
* `no_role`
Example:
* `combined_listing_role:parent`
Filter by the date and time when the product was created.
- Example:
* `created_at:>'2020-10-21T23:39:20Z'`
* `created_at:=1234`
* `id:<=1234`
Filter by inventory count.
- Example:
* `inventory_total:0`
* `inventory_total:>150`
* `inventory_total:>=200`
Filter by products that have a reduced price. For more information, refer to the [`CollectionRule`](https://shopify.dev/api/admin-graphql/latest/objects/CollectionRule) object.
- Example:
* `is_price_reduced:true`
Filters resources by metafield value. Format: `metafields.{namespace}.{key}:{value}`. Learn more about [querying by metafield value](https://shopify.dev/apps/build/custom-data/metafields/query-by-metafield-value).
- Example:
* `metafields.custom.on_sale:true`
* `metafields.product.material:"gid://shopify/Metaobject/43458085"`
Filter by products that are out of stock in at least one location.
- Example:
* `out_of_stock_somewhere:true`
Filter by the product variant [`price`](https://shopify.dev/api/admin-graphql/latest/objects/Productvariant#field-price) field.
- Example:
* `price:100.57`
Filter by the app [`id`](https://shopify.dev/api/admin-graphql/latest/objects/App#field-id) field.
- Example:
* `product_configuration_owner:10001`
Filter by channel approval process status of the resource on a channel, such as the online store. The value is a composite of the [channel `app` ID](https://shopify.dev/api/admin-graphql/latest/objects/Channel#field-Channel.fields.app) (`Channel.app.id`) and one of the valid values. For simple visibility checks, use [published\_status](https://shopify.dev/api/admin-graphql/latest/queries/products#argument-query-filter-publishable_status) instead.
- Valid values:
* `* {channel_app_id}-approved`
* `* {channel_app_id}-rejected`
* `* {channel_app_id}-needs_action`
* `* {channel_app_id}-awaiting_review`
* `* {channel_app_id}-published`
* `* {channel_app_id}-demoted`
* `* {channel_app_id}-scheduled`
* `* {channel_app_id}-provisionally_published`
Example:
* `product_publication_status:189769876-approved`
Filter by a comma-separated list of [product types](https://help.shopify.com/manual/products/details/product-type).
- Example:
* `product_type:snowboard`
Filter by a comma-separated list of publication IDs that are associated with the product.
- Example:
* `publication_ids:184111530305,184111694145`
**Deprecated:** This parameter is deprecated as of 2025-12 and will be removed in a future API version. Use [published\_status](https://shopify.dev/api/admin-graphql/latest/queries/products#argument-query-filter-publishable_status) for visibility checks. Filter by the publishable status of the resource on a channel. The value is a composite of the [channel `app` ID](https://shopify.dev/api/admin-graphql/latest/objects/Channel#app-price) (`Channel.app.id`) and one of the valid status values.
- Valid values:
* `* {channel_app_id}-unset`
* `* {channel_app_id}-pending`
* `* {channel_app_id}-approved`
* `* {channel_app_id}-not_approved`
Example:
* `publishable_status:580111-unset`
* `publishable_status:580111-pending`
Filter by the date and time when the product was published to the online store and other sales channels.
- Example:
* `published_at:>2020-10-21T23:39:20Z`
* `published_at:'2020-10-21T23:39:20Z'`
* `updated_at:2020-10-21T23:39:20Z`
* `created_at:=1234`
* `id:<=1234`
Filter by the metafield definition [`key`](https://shopify.dev/docs/api/admin-graphql/latest/objects/MetafieldDefinition#field-key) field.
- Example:
* `key:some-key`
Filter by the metafield definition [`namespace`](https://shopify.dev/docs/api/admin-graphql/latest/objects/MetafieldDefinition#field-namespace) field.
- Example:
* `namespace:some-namespace`
Filter by the metafield definition [`ownerType`](https://shopify.dev/docs/api/admin-graphql/latest/objects/MetafieldDefinition#field-ownertype) field.
- Example:
* `owner_type:PRODUCT`
Filter by the metafield definition [`type`](https://shopify.dev/docs/api/admin-graphql/latest/objects/MetafieldDefinition#field-type) field.
- Example:
* `type:single_line_text_field`
Filter by the date and time when the metafield definition was last updated.
Example:
* `updated_at:>2020-10-21T23:39:20Z`
* `updated_at:Refund\ object doesn\'t guarantee that the money has been returned to the customer. The actual financial processing happens through associated \\\Order\Transaction\\\ objects, which can be in various states, such as pending, processing, success, or failure. To determine if money has actually been refunded, check the \status\ of the associated transactions.
***
Learn more about [managing returns](https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps/build-return-management), [refunding duties](https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps/view-and-refund-duties), and [processing refunds](https://shopify.dev/docs/api/admin-graphql/latest/mutations/refundCreate).
* createdAt
[DateTime](https://shopify.dev/docs/api/admin-graphql/latest/scalars/DateTime)
The date and time when the refund was created.
* duties
[\[RefundDuty!\]](https://shopify.dev/docs/api/admin-graphql/latest/objects/RefundDuty)
A list of the refunded duties as part of this refund.
* id
[ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
non-null
A globally-unique ID.
* legacyResourceId
[UnsignedInt64!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/UnsignedInt64)
non-null
The ID of the corresponding resource in the REST Admin API.
* note
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The optional note associated with the refund.
* order
[Order!](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order)
non-null
The order associated with the refund.
* orderAdjustments
[OrderAdjustmentConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/OrderAdjustmentConnection)
non-null
The order adjustments that are attached with the refund.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
***
* processedAt
[DateTime!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/DateTime)
non-null
The date and time when the refund was processed.
* refundLineItems
[RefundLineItemConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/RefundLineItemConnection)
non-null
The `RefundLineItem` resources attached to the refund.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
***
* refundShippingLines
[RefundShippingLineConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/RefundShippingLineConnection)
non-null
The `RefundShippingLine` resources attached to the refund.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
***
* return
[Return](https://shopify.dev/docs/api/admin-graphql/latest/objects/Return)
The return associated with the refund.
* staffMember
[StaffMember](https://shopify.dev/docs/api/admin-graphql/latest/objects/StaffMember)
The staff member who created the refund.
* totalRefundedSet
[MoneyBag!](https://shopify.dev/docs/api/admin-graphql/latest/objects/MoneyBag)
non-null
The total amount across all transactions for the refund, in shop and presentment currencies.
* transactions
[OrderTransactionConnection!](https://shopify.dev/docs/api/admin-graphql/latest/connections/OrderTransactionConnection)
non-null
The transactions associated with the refund.
* first
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
### Arguments
The first `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* after
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come after the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* last
[Int](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Int)
The last `n` elements from the [paginated list](https://shopify.dev/api/usage/pagination-graphql).
* before
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
The elements that come before the specified [cursor](https://shopify.dev/api/usage/pagination-graphql).
* reverse
[Boolean](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
Default:false
Reverse the order of the underlying list.
***
* updatedAt
[DateTime!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/DateTime)
non-null
The date and time when the refund was updated.
* totalRefunded
[MoneyV2!](https://shopify.dev/docs/api/admin-graphql/latest/objects/MoneyV2)
non-nullDeprecated
* [SavedSearch](https://shopify.dev/docs/api/admin-graphql/latest/objects/SavedSearch)
OBJECT
A representation of a search query in the Shopify admin used on resource index views. Preserves complex queries with search terms and filters, enabling merchants to quickly access frequently used data views. For example, a saved search can be applied to the product index table to filter products. The query string combines free-text search terms with structured filters to narrow results based on resource attributes.
The search applies to a specific resource type such as [`Customer`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Customer), [`Product`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product), [`Order`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order), or [`Collection`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Collection) objects.
* filters
[\[SearchFilter!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/SearchFilter)
non-null
The filters of a saved search.
* id
[ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
non-null
A globally-unique ID.
* legacyResourceId
[UnsignedInt64!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/UnsignedInt64)
non-null
The ID of the corresponding resource in the REST Admin API.
* name
[String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
non-null
The name of a saved search.
* query
[String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
non-null
The query string of a saved search. This includes search terms and filters.
* resourceType
[SearchResultType!](https://shopify.dev/docs/api/admin-graphql/latest/enums/SearchResultType)
non-null
The type of resource this saved search is searching in.
* searchTerms
[String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
non-null
The search terms of a saved search.
* [ScriptTag](https://shopify.dev/docs/api/admin-graphql/latest/objects/ScriptTag)
OBJECT
**Theme app extensions:**
If your app integrates with a Shopify theme and you plan to submit it to the Shopify App Store, you must use theme app extensions instead of Script tags. Script tags can only be used with vintage themes. [Learn more](https://shopify.dev/apps/online-store#what-integration-method-should-i-use).
**Script tag deprecation:**
Script tags will be sunset for the **Order status** page on August 28, 2025. [Upgrade to Checkout Extensibility](https://www.shopify.com/plus/upgrading-to-checkout-extensibility) before this date. [Shopify Scripts](https://shopify.dev/docs/api/liquid/objects#script) will continue to work alongside Checkout Extensibility until August 28, 2025.
A script tag represents remote JavaScript code that is loaded into the pages of a shop's storefront or the **Order status** page of checkout.
* cache
[Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean)
non-null
Whether the Shopify CDN can cache and serve the script tag. If `true`, then the script will be cached and served by the CDN. The cache expires 15 minutes after the script tag is successfully returned. If `false`, then the script will be served as is.
* createdAt
[DateTime!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/DateTime)
non-null
The date and time when the script tag was created.
* displayScope
[ScriptTagDisplayScope!](https://shopify.dev/docs/api/admin-graphql/latest/enums/ScriptTagDisplayScope)
non-null
The page or pages on the online store that the script should be included.
* id
[ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
non-null
A globally-unique ID.
* legacyResourceId
[UnsignedInt64!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/UnsignedInt64)
non-null
The ID of the corresponding resource in the REST Admin API.
* src
[URL!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/URL)
non-null
The URL to the remote script.
* updatedAt
[DateTime!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/DateTime)
non-null
The date and time when the script tag was last updated.
* [ShopifyPaymentsDispute](https://shopify.dev/docs/api/admin-graphql/latest/objects/ShopifyPaymentsDispute)
OBJECT
A dispute occurs when a buyer questions the legitimacy of a charge with their financial institution.
* amount
[MoneyV2!](https://shopify.dev/docs/api/admin-graphql/latest/objects/MoneyV2)
non-null
The total amount disputed by the cardholder.
* disputeEvidence
[ShopifyPaymentsDisputeEvidence!](https://shopify.dev/docs/api/admin-graphql/latest/objects/ShopifyPaymentsDisputeEvidence)
non-null
The evidence associated with the dispute.
* evidenceDueBy
[Date](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Date)
The deadline for evidence submission.
* evidenceSentOn
[Date](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Date)
The date when evidence was sent. Returns null if evidence hasn't yet been sent.
* finalizedOn
[Date](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Date)
The date when this dispute was resolved. Returns null if the dispute isn't yet resolved.
* id
[ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
non-null
A globally-unique ID.
* initiatedAt
[DateTime!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/DateTime)
non-null
The date when this dispute was initiated.
* legacyResourceId
[UnsignedInt64!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/UnsignedInt64)
non-null
The ID of the corresponding resource in the REST Admin API.
* order
[Order](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order)
The order that contains the charge that's under dispute.
* reasonDetails
[ShopifyPaymentsDisputeReasonDetails!](https://shopify.dev/docs/api/admin-graphql/latest/objects/ShopifyPaymentsDisputeReasonDetails)
non-null
The reason of the dispute.
* status
[DisputeStatus!](https://shopify.dev/docs/api/admin-graphql/latest/enums/DisputeStatus)
non-null
The current state of the dispute.
* type
[DisputeType!](https://shopify.dev/docs/api/admin-graphql/latest/enums/DisputeType)
non-null
Indicates if this dispute is still in the inquiry phase or has turned into a chargeback.
* [ShopifyPaymentsPayout](https://shopify.dev/docs/api/admin-graphql/latest/objects/ShopifyPaymentsPayout)
OBJECT
A transfer of funds between a merchant's Shopify Payments balance and their [`ShopifyPaymentsBankAccount`](https://shopify.dev/docs/api/admin-graphql/latest/objects/ShopifyPaymentsBankAccount). Provides the [net amount](https://shopify.dev/docs/api/admin-graphql/latest/objects/ShopifyPaymentsPayout#field-ShopifyPaymentsPayout.fields.net), [issue date](https://shopify.dev/docs/api/admin-graphql/latest/objects/ShopifyPaymentsPayout#field-ShopifyPaymentsPayout.fields.issuedAt), and current [`ShopifyPaymentsPayoutStatus`](https://shopify.dev/docs/api/admin-graphql/latest/enums/ShopifyPaymentsPayoutStatus).
The payout includes a [`ShopifyPaymentsPayoutSummary`](https://shopify.dev/docs/api/admin-graphql/latest/objects/ShopifyPaymentsPayoutSummary) that breaks down fees and gross amounts by transaction type, such as charges, refunds, and adjustments. The [`ShopifyPaymentsPayoutTransactionType`](https://shopify.dev/docs/api/admin-graphql/latest/enums/ShopifyPaymentsPayoutTransactionType) indicates whether funds move into the bank account (deposit) or back to Shopify Payments (withdrawal).
* businessEntity
[BusinessEntity!](https://shopify.dev/docs/api/admin-graphql/latest/objects/BusinessEntity)
non-null
The business entity associated with the payout.
* externalTraceId
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
A unique trace ID from the financial institution. Use this reference number to track the payout with your provider.
* id
[ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
non-null
A globally-unique ID.
* issuedAt
[DateTime!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/DateTime)
non-null
The exact time when the payout was issued. The payout only contains balance transactions that were available at this time.
* legacyResourceId
[UnsignedInt64!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/UnsignedInt64)
non-null
The ID of the corresponding resource in the REST Admin API.
* net
[MoneyV2!](https://shopify.dev/docs/api/admin-graphql/latest/objects/MoneyV2)
non-null
The total amount and currency of the payout.
* status
[ShopifyPaymentsPayoutStatus!](https://shopify.dev/docs/api/admin-graphql/latest/enums/ShopifyPaymentsPayoutStatus)
non-null
The transfer status of the payout.
* summary
[ShopifyPaymentsPayoutSummary!](https://shopify.dev/docs/api/admin-graphql/latest/objects/ShopifyPaymentsPayoutSummary)
non-null
The summary of the payout.
* transactionType
[ShopifyPaymentsPayoutTransactionType!](https://shopify.dev/docs/api/admin-graphql/latest/enums/ShopifyPaymentsPayoutTransactionType)
non-null
The direction of the payout.
* bankAccount
[ShopifyPaymentsBankAccount](https://shopify.dev/docs/api/admin-graphql/latest/objects/ShopifyPaymentsBankAccount)
Deprecated
* gross
[MoneyV2!](https://shopify.dev/docs/api/admin-graphql/latest/objects/MoneyV2)
non-nullDeprecated
* [WebhookSubscription](https://shopify.dev/docs/api/admin-graphql/latest/objects/WebhookSubscription)
OBJECT
A webhook subscription is a persisted data object created by an app using the REST Admin API or GraphQL Admin API. It describes the topic that the app wants to receive, and a destination where Shopify should send webhooks of the specified topic. When an event for a given topic occurs, the webhook subscription sends a relevant payload to the destination. Learn more about the [webhooks system](https://shopify.dev/apps/webhooks).
* apiVersion
[ApiVersion!](https://shopify.dev/docs/api/admin-graphql/latest/objects/ApiVersion)
non-null
The Admin API version that Shopify uses to serialize webhook events. This value is inherited from the app that created the webhook subscription.
* createdAt
[DateTime!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/DateTime)
non-null
The date and time when the webhook subscription was created.
* filter
[String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
A constraint specified using search syntax that ensures only webhooks that match the specified filter are emitted. See our [guide on filters](https://shopify.dev/docs/apps/build/webhooks/customize/filters) for more details.
* format
[WebhookSubscriptionFormat!](https://shopify.dev/docs/api/admin-graphql/latest/enums/WebhookSubscriptionFormat)
non-null
The format in which the webhook subscription should send the data.
* id
[ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)
non-null
A globally-unique ID.
* includeFields
[\[String!\]!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
non-null
The list of fields to be included in the webhook subscription. Only the fields specified will be included in the webhook payload. If null, then all fields will be included. Learn more about [modifying webhook payloads](https://shopify.dev/docs/apps/build/webhooks/customize/modify-payloads).
* legacyResourceId
[UnsignedInt64!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/UnsignedInt64)
non-null
The ID of the corresponding resource in the REST Admin API.
* metafieldNamespaces
[\[String!\]!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
non-null
The list of namespaces for any metafields that should be included in the webhook subscription.
* metafields
[\[WebhookSubscriptionMetafieldIdentifier!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/WebhookSubscriptionMetafieldIdentifier)
non-null
The list of identifiers specifying metafields to include in the webhook subscription.
* topic
[WebhookSubscriptionTopic!](https://shopify.dev/docs/api/admin-graphql/latest/enums/WebhookSubscriptionTopic)
non-null
The type of event that triggers the webhook. The topic determines when the webhook subscription sends a webhook, as well as what class of data object that webhook contains.
* updatedAt
[DateTime!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/DateTime)
non-null
The date and time when the webhook subscription was updated.
* uri
[String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)
non-null
The URI to which the webhook subscription will send events.
* callbackUrl
[URL!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/URL)
non-nullDeprecated
* endpoint
[WebhookSubscriptionEndpoint!](https://shopify.dev/docs/api/admin-graphql/latest/unions/WebhookSubscriptionEndpoint)
non-nullDeprecated
***
##### Variables
```json
{
"legacyResourceId": ""
}
```
##### Schema
```graphql
interface LegacyInteroperability {
legacyResourceId: UnsignedInt64!
}
```