Skip to main content
query

Requires read_inventory_transfers access scope. Also: The user must have permission to view products.

Returns an InventoryTransfer by ID. Inventory transfers track the movement of inventory between locations, including origin and destination details, InventoryTransferLineItem objects, quantities, and InventoryTransferStatus values.

ID!
required

The ID of the inventory transfer.


Was this section helpful?

InventoryTransfer

Tracks the movement of InventoryItem objects between Location objects. A transfer includes origin and destination information, InventoryTransferLineItem objects with quantities, and shipment details.

Transfers progress through multiple statuses. The transfer maintains LocationSnapshot objects of location details to preserve historical data even if locations change or are deleted later.

DateTime

The date and time the inventory transfer was created in UTC format.

LocationSnapshot

Snapshot of the destination location (name, address, when snapped) with an optional link to the live Location object. If the original location is deleted, the snapshot data will still be available but the location link will be nil.

EventConnection!
non-null

The list of events associated with the inventory transfer.

Arguments

Int

The first n elements from the paginated list.

String

The elements that come after the specified cursor.

Int

The last n elements from the paginated list.

String

The elements that come before the specified cursor.

Boolean
Default:false

Reverse the order of the underlying list.

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.

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.

string

The action that occured.

Example:

  • action:create
Anchor to comments
boolean

Whether or not to include comment-events in your search, passing false will exclude comment-events, any other value will include comment-events.

Example:

  • false
  • true
Anchor to created_at
time

Filter by the date and time when the event happened.

Example:

  • created_at:>2020-10-21
  • created_at:<now
id

Filter by id range.

Example:

  • id:1234
  • id:>=1234
  • id:<=1234
Anchor to subject_type
string

The resource type affected by this event. See EventSubjectType for possible values.

Example:

  • PRODUCT_VARIANT
  • PRODUCT
  • COLLECTION

Boolean!
non-null

Whether the merchant has added timeline comments to the inventory transfer.

ID!
non-null

A globally-unique ID.

InventoryTransferLineItemConnection!
non-null

The line items associated with the inventory transfer.

Arguments

Int

The first n elements from the paginated list.

String

The elements that come after the specified cursor.

Int

The last n elements from the paginated list.

String

The elements that come before the specified cursor.

Boolean
Default:false

Reverse the order of the underlying list.

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.

Anchor to default
string

Filter by a case-insensitive search of multiple fields in a document.

Example:

  • query=Bob Norman
  • query=title:green hoodie
id

Filter by id range.

Example:

  • id:1234
  • id:>=1234
  • id:<=1234

Count

The number of line items associated with the inventory transfer. Limited to a maximum of 10000 by default.

Arguments

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.

Anchor to default
string

Filter by a case-insensitive search of multiple fields in a document.

Example:

  • query=Bob Norman
  • query=title:green hoodie
id

Filter by id range.

Example:

  • id:1234
  • id:>=1234
  • id:<=1234
Int
Default:10000

The upper bound on count value before returning a result. Use null to have no limit.


Metafield

A custom field, including its namespace and key, that's associated with a Shopify resource for the purposes of adding and storing additional information.

Arguments

String

The container the metafield belongs to. If omitted, the app-reserved namespace will be used.

String!
required

The key for the metafield.


MetafieldConnection!
non-null

A list of custom fields that a merchant associates with a Shopify resource.

Arguments

String

The metafield namespace to filter by. If omitted, all metafields are returned.

[String!]

List of keys of metafields in the format namespace.key, will be returned in the same format.

Int

The first n elements from the paginated list.

String

The elements that come after the specified cursor.

Int

The last n elements from the paginated list.

String

The elements that come before the specified cursor.

Boolean
Default:false

Reverse the order of the underlying list.


Anchor to metafieldsByIdentifiersmetafieldsByIdentifiers
[Metafield]!
non-null

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

Arguments

[HasMetafieldsIdentifier!]!
required

The list of metafields to retrieve by namespace and key.


String!
non-null

The name of the inventory transfer.

String

Additional note attached to the inventory transfer.

LocationSnapshot

Snapshot of the origin location (name, address, when snapped) with an optional link to the live Location object. If the original location is deleted, the snapshot data will still be available but the location link will be nil.

Int!
non-null

The total quantity of items received in the transfer.

String

The reference name of the inventory transfer.

InventoryShipmentConnection!
non-null

The shipments associated with the inventory transfer.

Arguments

Int

The first n elements from the paginated list.

String

The elements that come after the specified cursor.

Int

The last n elements from the paginated list.

String

The elements that come before the specified cursor.

Boolean
Default:false

Reverse the order of the underlying list.


InventoryTransferStatus!
non-null

The current status of the transfer.

[String!]!
non-null

A list of tags that have been added to the inventory transfer.

Int!
non-null

The total quantity of items being transferred.

Anchor to metafieldDefinitionsmetafieldDefinitions
MetafieldDefinitionConnection!
non-nullDeprecated

Arguments

String

Filter metafield definitions by namespace.

MetafieldDefinitionPinnedStatus
Default:ANY

Filter by the definition's pinned status.

Int

The first n elements from the paginated list.

String

The elements that come after the specified cursor.

Int

The last n elements from the paginated list.

String

The elements that come before the specified cursor.

Boolean
Default:false

Reverse the order of the underlying list.

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.

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.

Anchor to default
string

Filter by a case-insensitive search of multiple fields in a document.

Example:

  • query=Bob Norman
  • query=title:green hoodie
Anchor to created_at
time

Filter by the date and time when the metafield definition was created.

Example:

  • created_at:>2020-10-21T23:39:20Z
  • created_at:<now
  • created_at:<=2024
id

Filter by id range.

Example:

  • id:1234
  • id:>=1234
  • id:<=1234
string

Filter by the metafield definition key field.

Example:

  • key:some-key
Anchor to namespace
string

Filter by the metafield definition namespace field.

Example:

  • namespace:some-namespace
Anchor to owner_type
string

Filter by the metafield definition ownerType field.

Example:

  • owner_type:PRODUCT
string

Filter by the metafield definition type field.

Example:

  • type:single_line_text_field
Anchor to updated_at
time

Filter by the date and time when the metafield definition was last updated.

Example:

  • updated_at:>2020-10-21T23:39:20Z
  • updated_at:<now
  • updated_at:<=2024


Was this section helpful?