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.
Anchor to Use casesUse cases
- Quantities: Compare
shipped_quantityandreceived_quantitybyshipment_nameto spot shortfalls between what was sent and what arrived. - Outcomes: Group
accepted_quantityandrejected_quantitybyshipment_statusto review shipment outcomes. - Attribution: Track
shipment_countbyshipment_app_nameorstaff_idto break shipments down by app or staff.
Anchor to MetricsMetrics
Counts and calculations that let you track key business indicators. Metrics show up as the columns when queried.
Metrics you can use when querying .
- Anchor to acceptance_rateacceptance_
rateacceptance_ rate PERCENTPERCENT - Anchor to accepted_quantityaccepted_
quantityaccepted_ quantity INTEGERINTEGER Quantity accepted after quality checks
- Anchor to received_quantityreceived_
quantityreceived_ quantity INTEGERINTEGER Quantity received at destination locations
- Anchor to rejected_quantityrejected_
quantityrejected_ quantity INTEGERINTEGER Quantity rejected due to quality issues or damage
- Anchor to rejection_raterejection_
raterejection_ rate PERCENTPERCENT - Anchor to shipment_countshipment_
countshipment_ count INTEGERINTEGER Number of unique shipments
- Anchor to shipped_quantityshipped_
quantityshipped_ quantity INTEGERINTEGER Quantity shipped between locations
- Anchor to unique_items_shippedunique_
items_ shippedunique_ items_ shipped INTEGERINTEGER Number of unique inventory items shipped
PERCENT
A percentage value represented as a decimal, where 0.25 represents 25%.
INTEGER
A whole number without decimal places, used for counts, quantities, and other discrete numeric values.
Anchor to DimensionsDimensions
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 .
- Anchor to carriercarriercarrierSTRINGSTRING
Name of the shipping carrier company
- Anchor to carrier_codecarrier_
codecarrier_ code STRINGSTRING Carrier code or abbreviation (like UPS, FEDEX, USPS)
- Anchor to daydaydayDAY_TIMESTAMPDAY_TIMESTAMP
The day a shipment was created.
- Anchor to day_of_weekday_
of_ weekday_ of_ week DAY_OF_WEEKDAY_OF_WEEK The day of week a shipment was created, with values Monday through Sunday.
- Anchor to expected_delivery_atexpected_
delivery_ atexpected_ delivery_ at TIMESTAMPTIMESTAMP Estimated date and time the shipment will arrive
- Anchor to hourhourhourHOUR_TIMESTAMPHOUR_TIMESTAMP
The hour a shipment was created.
- Anchor to hour_of_dayhour_
of_ dayhour_ of_ day HOUR_OF_DAYHOUR_OF_DAY The hour of day a shipment was created, with values 0 through 23.
- Anchor to inventory_destination_idinventory_
destination_ idinventory_ destination_ id IDENTITYIDENTITY - Anchor to inventory_item_idinventory_
item_ idinventory_ item_ id IDENTITYIDENTITY - Anchor to inventory_origin_idinventory_
origin_ idinventory_ origin_ id IDENTITYIDENTITY - Anchor to inventory_shipment_idinventory_
shipment_ idinventory_ shipment_ id IDENTITYIDENTITY - Anchor to inventory_shipment_line_item_idinventory_
shipment_ line_ item_ idinventory_ shipment_ line_ item_ id IDENTITYIDENTITY - Anchor to inventory_transfer_idinventory_
transfer_ idinventory_ transfer_ id IDENTITYIDENTITY - Anchor to minuteminuteminuteMINUTE_TIMESTAMPMINUTE_TIMESTAMP
The minute a shipment was created.
- Anchor to monthmonthmonthMONTH_TIMESTAMPMONTH_TIMESTAMP
The month a shipment was created.
- Anchor to month_of_yearmonth_
of_ yearmonth_ of_ year MONTH_OF_YEARMONTH_OF_YEAR The month of year a shipment was created, with values 1 through 12.
- Anchor to product_variant_idproduct_
variant_ idproduct_ variant_ id IDENTITYIDENTITY - Anchor to quarterquarterquarterQUARTER_TIMESTAMPQUARTER_TIMESTAMP
The quarter a shipment was created.
- Anchor to secondsecondsecondSECOND_TIMESTAMPSECOND_TIMESTAMP
The second a shipment was created.
- Anchor to shipment_app_idshipment_
app_ idshipment_ app_ id IDENTITYIDENTITY - Anchor to shipment_app_nameshipment_
app_ nameshipment_ app_ name STRINGSTRING Name of the app or integration that created the shipment
- Anchor to shipment_nameshipment_
nameshipment_ name STRINGSTRING - Anchor to shipment_received_atshipment_
received_ atshipment_ received_ at TIMESTAMPTIMESTAMP Date and time the shipment was initially received
- Anchor to shipment_shipped_atshipment_
shipped_ atshipment_ shipped_ at TIMESTAMPTIMESTAMP Date and time the shipment was shipped
- Anchor to shipment_statusshipment_
statusshipment_ status STRINGSTRING Values include Draft, In transit, Received, and Partially received.
- Anchor to shop_idshop_
idshop_ id IDENTITYIDENTITY - Anchor to staff_idstaff_
idstaff_ id IDENTITYIDENTITY - Anchor to tracking_numbertracking_
numbertracking_ number STRINGSTRING Tracking number used by the carrier to identify the shipment
- Anchor to tracking_urltracking_
urltracking_ url STRINGSTRING URL to track the shipment on the carrier's website
- Anchor to weekweekweekWEEK_TIMESTAMPWEEK_TIMESTAMP
The week a shipment was created.
- Anchor to week_of_yearweek_
of_ yearweek_ of_ year WEEK_OF_YEARWEEK_OF_YEAR The week of year a shipment was created, with values 1 through 53.
- Anchor to yearyearyearYEAR_TIMESTAMPYEAR_TIMESTAMP
The year a shipment was created.
- Anchor to destination_citydestination_
citydestination_ city STRINGSTRING City of the location that's receiving inventory
- Anchor to destination_countrydestination_
countrydestination_ country STRINGSTRING Country where the inventory destination location is located
- Anchor to destination_namedestination_
namedestination_ name STRINGSTRING Name of the location receiving inventory
- Anchor to destination_regiondestination_
regiondestination_ region STRINGSTRING Province or state of the location that's receiving inventory (e.g., California, Ontario)
- Anchor to shop_nameshop_
nameshop_ name STRINGSTRING Name of your store
- Anchor to inventory_cost_is_recordedinventory_
cost_ is_ recordedinventory_ cost_ is_ recorded BOOLEANBOOLEAN Whether the inventory item has a cost saved in Shopify, with values
trueandfalse.- Anchor to inventory_is_trackedinventory_
is_ trackedinventory_ is_ tracked BOOLEANBOOLEAN Whether Shopify tracks inventory adjustments for the inventory item, with values
trueandfalse.- Anchor to inventory_item_costinventory_
item_ costinventory_ item_ cost MONEYMONEY The cost recorded for one unit of the inventory item, in your store's currency.
- Anchor to inventory_origin_cityinventory_
origin_ cityinventory_ origin_ city STRINGSTRING City of the location that's sending inventory transfers
- Anchor to inventory_origin_countryinventory_
origin_ countryinventory_ origin_ country STRINGSTRING Country of the location that's sending inventory transfers
- Anchor to inventory_origin_nameinventory_
origin_ nameinventory_ origin_ name STRINGSTRING Name of the location sending inventory transfers
- Anchor to inventory_origin_regioninventory_
origin_ regioninventory_ origin_ region STRINGSTRING Province or state of the location that's sending inventory transfers (e.g., California, Ontario)
- Anchor to transfer_created_attransfer_
created_ attransfer_ created_ at TIMESTAMPTIMESTAMP The date and time the inventory transfer was created, reported in your store's time zone.
- Anchor to transfer_nametransfer_
nametransfer_ name STRINGSTRING The display name of the inventory transfer. If no name is set, the transfer number can appear.
- Anchor to transfer_notetransfer_
notetransfer_ note STRINGSTRING Additional note attached to the inventory transfer
- Anchor to transfer_reference_nametransfer_
reference_ nametransfer_ reference_ name STRINGSTRING Reference name of the inventory transfer
- Anchor to transfer_statustransfer_
statustransfer_ status STRINGSTRING The current status of the inventory transfer, with values such as Draft, In progress, Ready to ship, and Transferred.
- STRINGSTRING
Custom tags assigned to the inventory transfer
- Anchor to product_variant_skuproduct_
variant_ skuproduct_ variant_ sku STRINGSTRING SKU of the product variant
- Anchor to product_variant_titleproduct_
variant_ titleproduct_ variant_ title STRINGSTRING Display name of the product variant
- Anchor to staff_member_namestaff_
member_ namestaff_ member_ name STRINGSTRING Name of the staff member associated with the order
STRING
A sequence of characters representing text data.
DAY_TIMESTAMP
A date value truncated to day precision.
DAY_OF_WEEK
A day within a week, used for weekday-based grouping and filtering.
TIMESTAMP
A full-precision timestamp including date and time.
HOUR_TIMESTAMP
A timestamp truncated to hour precision.
HOUR_OF_DAY
An hour within a day, typically represented as an integer from 0 to 23.
IDENTITY
A unique identifier for a Shopify resource such as a customer, product, or order.
MINUTE_TIMESTAMP
A timestamp truncated to minute precision.
MONTH_TIMESTAMP
A date value representing the start of a month.
MONTH_OF_YEAR
A month number within a year.
QUARTER_TIMESTAMP
A date value representing the start of a fiscal quarter.
SECOND_TIMESTAMP
A timestamp truncated to second precision.
WEEK_TIMESTAMP
A date value representing the start of a week.
WEEK_OF_YEAR
A week number within a year.
YEAR_TIMESTAMP
A date value representing the start of a year.
BOOLEAN
A true or false value representing binary states.
MONEY
A monetary amount representing currency values such as prices, revenue, costs, and discounts.
inventory_by_location: Destination location inventory state that shipments arrive into.inventory_transfers: Stock moves between locations alongside incoming shipments.inventory: Store-wide inventory state replenished by these shipments.