Inventory Transfer
read_inventory_transfers access scope.Subscribe to field-level changes on the InventoryTransfer GraphQL Admin API object. You can subscribe to create, delete, and update events, and to changes to specific fields.
Each topic corresponds to a commerce resource, such as an inventory transfer, that can exist independently within its domain. Child entities that depend on a parent within the same domain don't have their own topic. Instead, changes to child entities trigger a delivery on the parent topic.
You can't use calculated fields, derived fields, auto-updated timestamps, or cross-domain fields as triggers.
Subscriptions can include multiple triggers. Use the shopify-webhook-id header for deduplication when handling duplicate deliveries.
You can use custom queries to query the full GraphQL Admin API, not only InventoryTransfer.
shopify.app.toml
Anchor to Supported triggersSupported triggers
InventoryTransfer subscriptions support the following field-level triggers.
Anchor to list-of-topics-inventoryTransferinventoryTransfer
Fires when events involve the object.
The "create" and "delete" actions are only relevant within the context of this parent topic. Use to follow or replicate impacted data after a delete event. Define a custom query to retrieve specific fields from create events.
Collect details about changes to the object by subscribing to the trigger along with the "update" action, though it's recommended that you narrow your subscription to one of the other triggers below.
Variables:
Anchor to list-of-topics-inventoryTransfer.destinationinventoryTransfer .destination
Fires when the destination field on the object changes.
Subscribe to this trigger with the "update" action and include the field in a custom query to retrieve updated data from the payload.
You can trace the field in subsequent requests using .
Snapshot of the destination location (name, address, when snapped) with an optional link to the live Location object.
Variables:
Anchor to list-of-topics-inventoryTransfer.lineItemsinventoryTransfer .lineItems
Fires when the field on the object changes.
Subscribe to this trigger with the "update" action and include the field in a custom query to retrieve updated data from the payload.
You can trace the field in subsequent requests using .
The field represents the line items associated with the inventory transfer.
Variables:
Anchor to list-of-topics-inventoryTransfer.lineItems.totalQuantityinventoryTransfer .lineItems .totalQuantity
Fires when the field on the object changes.
Subscribe to this trigger with the "update" action and include the field in a custom query to retrieve updated data from the payload.
You can trace the field in subsequent requests using .
The field represents the total quantity of items being transferred.
Variables:
Anchor to list-of-topics-inventoryTransfer.metafield(namespace: String!, key: String!)inventoryTransfer .metafield(namespace: String!, key: String!)
Fires when the metafield field on the object changes.
Subscribe to this trigger with the "update" action and include the field in a custom query to retrieve updated data from the payload.
You can trace the field in subsequent requests using .
The metafield field represents a custom field, including its namespace and key, that's associated with a Shopify resource for the purposes of adding and storing additional information.
Variables: , ,
Anchor to list-of-topics-inventoryTransfer.metafield(namespace: String!, key: String!).valueinventoryTransfer .metafield(namespace: String!, key: String!) .value
Fires when the value field on the Metafield object changes.
Subscribe to this trigger with the "update" action and include the field in a custom query to retrieve updated data from the payload.
You can trace the field in subsequent requests using .
The value field represents the data stored in the metafield.
Variables: , ,
Anchor to list-of-topics-inventoryTransfer.statusinventoryTransfer .status
Fires when the status field on the object changes.
Subscribe to this trigger with the "update" action and include the field in a custom query to retrieve updated data from the payload.
You can trace the field in subsequent requests using .
The status field represents the current status of the transfer.
Variables: