Skip to main content

inventory_shipments

The inventory_shipments schema captures shipment line items that move inventory between locations. It focuses on shipment quantities, outcomes, and the transfer or operational context attached to the shipment.


Counts and calculations that let you track key business indicators. Metrics show up as the columns when queried.

Metrics you can use when querying FROM inventory_shipments.

Anchor to acceptance_rate
acceptance_rate

If no items were received in the results, acceptance_rate is null.

Acceptance rate = accepted_quantity / received_quantity

Anchor to accepted_quantity
accepted_quantity

Quantity accepted after quality checks

Anchor to received_quantity
received_quantity

Quantity received at destination locations

Anchor to rejected_quantity
rejected_quantity

Quantity rejected due to quality issues or damage

Anchor to rejection_rate
rejection_rate

If no items were received in the results, then rejection_rate is null.

Rejection rate = rejected_quantity / received_quantity

Anchor to shipment_count
shipment_count

Number of unique shipments

Anchor to shipped_quantity
shipped_quantity

Quantity shipped between locations

Anchor to unique_items_shipped
unique_items_shipped

Number of unique inventory items shipped


Attributes of your data that let you look more granularly at aspects of the data. Group and filter by dimensions to shape the rows your query returns.

Dimensions you can use when querying FROM inventory_shipments.

Anchor to carrier
carrier

Name of the shipping carrier company

Anchor to carrier_code
carrier_code

Carrier code or abbreviation (like UPS, FEDEX, USPS)

The day a shipment was created.

Anchor to day_of_week
day_of_week

The day of week a shipment was created, with values Monday through Sunday.

Anchor to expected_delivery_at
expected_delivery_at

Estimated date and time the shipment will arrive

The hour a shipment was created.

Anchor to hour_of_day
hour_of_day

The hour of day a shipment was created, with values 0 through 23.

Anchor to inventory_destination_id
inventory_destination_id

The unique Shopify identifier for the location receiving the inventory. Use inventory_destination_id to filter to a specific receiving location. Use it with destination_name to show readable labels.

Anchor to inventory_item_id
inventory_item_id

The unique Shopify identifier for the inventory item on the shipment line item. Use inventory_item_id to filter to a specific item. Use it with product_variant_sku or product_variant_title to show readable labels.

Anchor to inventory_origin_id
inventory_origin_id

The unique Shopify identifier for the location sending the inventory. Use inventory_origin_id to filter to a specific sending location. Use it with inventory_origin_name to show readable labels.

Anchor to inventory_shipment_id
inventory_shipment_id

The unique Shopify identifier for the shipment. Use inventory_shipment_id to filter to one shipment or to break results down by shipment.

Anchor to inventory_shipment_line_item_id
inventory_shipment_line_item_id

The unique Shopify identifier for the shipment line item. Use inventory_shipment_line_item_id to filter to a specific line in a shipment.

Anchor to inventory_transfer_id
inventory_transfer_id

The unique Shopify identifier for the inventory transfer that created the shipment. Use inventory_transfer_id to connect shipment line items back to a specific transfer.

Anchor to minute
minute

The minute a shipment was created.

Anchor to month
month

The month a shipment was created.

Anchor to month_of_year
month_of_year

The month of year a shipment was created, with values 1 through 12.

Anchor to product_variant_id
product_variant_id

The unique Shopify identifier for the product variant on the shipment line item. Use product_variant_id to filter to a specific variant. Use it with product_variant_title or product_variant_sku to show readable labels.

Anchor to quarter
quarter

The quarter a shipment was created.

Anchor to second
second

The second a shipment was created.

Anchor to shipment_app_id
shipment_app_id

The Shopify identifier for the app that created the shipment. Use shipment_app_id to filter to a specific app. Use it with shipment_app_name to show readable labels.

Anchor to shipment_app_name
shipment_app_name

Name of the app or integration that created the shipment

Anchor to shipment_name
shipment_name

The readable shipment label that combines the related transfer label with the shipment number. Use shipment_name to identify specific shipments in results.

Anchor to shipment_received_at
shipment_received_at

Date and time the shipment was initially received

Anchor to shipment_shipped_at
shipment_shipped_at

Date and time the shipment was shipped

Anchor to shipment_status
shipment_status

Values include Draft, In transit, Received, and Partially received.

Anchor to shop_id
shop_id

The unique Shopify identifier for your store. Use shop_id with shop_name to show readable store labels.

Anchor to staff_id
staff_id

The unique Shopify identifier for the staff member who created or managed the shipment. Use staff_id to filter to a specific staff member. Use it with staff_member_name to show readable labels.

Anchor to tracking_number
tracking_number

Tracking number used by the carrier to identify the shipment

Anchor to tracking_url
tracking_url

URL to track the shipment on the carrier's website

The week a shipment was created.

Anchor to week_of_year
week_of_year

The week of year a shipment was created, with values 1 through 53.

The year a shipment was created.

Anchor to destination_city
destination_city

City of the location that's receiving inventory

Anchor to destination_country
destination_country

Country where the inventory destination location is located

Anchor to destination_name
destination_name

Name of the location receiving inventory

Anchor to destination_region
destination_region

Province or state of the location that's receiving inventory (e.g., California, Ontario)

Anchor to shop_name
shop_name

Name of your store

Anchor to inventory_cost_is_recorded
inventory_cost_is_recorded

Whether the inventory item has a cost saved in Shopify, with values true and false.

Anchor to inventory_is_tracked
inventory_is_tracked

Whether Shopify tracks inventory adjustments for the inventory item, with values true and false.

Anchor to inventory_item_cost
inventory_item_cost

The cost recorded for one unit of the inventory item, in your store's currency.

Anchor to inventory_origin_city
inventory_origin_city

City of the location that's sending inventory transfers

Anchor to inventory_origin_country
inventory_origin_country

Country of the location that's sending inventory transfers

Anchor to inventory_origin_name
inventory_origin_name

Name of the location sending inventory transfers

Anchor to inventory_origin_region
inventory_origin_region

Province or state of the location that's sending inventory transfers (e.g., California, Ontario)

Anchor to transfer_created_at
transfer_created_at

The date and time the inventory transfer was created, reported in your store's time zone.

Anchor to transfer_name
transfer_name

The display name of the inventory transfer. If no name is set, the transfer number can appear.

Anchor to transfer_note
transfer_note

Additional note attached to the inventory transfer

Anchor to transfer_reference_name
transfer_reference_name

Reference name of the inventory transfer

Anchor to transfer_status
transfer_status

The current status of the inventory transfer, with values such as Draft, In progress, Ready to ship, and Transferred.

Anchor to transfer_tags
transfer_tags

Custom tags assigned to the inventory transfer

Anchor to product_variant_sku
product_variant_sku

SKU of the product variant

Anchor to product_variant_title
product_variant_title

Display name of the product variant

Anchor to staff_member_name
staff_member_name

Name of the staff member associated with the order



Was this page helpful?