> ## Documentation Index
> Fetch the complete documentation index at: https://docs.queryful.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Inventory shipments

> Shipments between locations: units shipped, received, accepted and rejected, by carrier and product.

Shipments between locations: units shipped, received, accepted and rejected, by carrier and product.

## Example

```sql theme={null}
FROM inventory_shipments
  SHOW shipped_quantity, received_quantity
  GROUP BY product_title
  SINCE startOfMonth(-1m) UNTIL today
  ORDER BY shipped_quantity DESC
```

## Metrics

| Metric | Type | Description |
| - | - | - |
| `shipped_quantity` | Number | Units shipped between locations. |
| `received_quantity` | Number | Units received at the destination. |
| `accepted_quantity` | Number | Units accepted after quality checks. |
| `rejected_quantity` | Number | Units rejected for quality issues or damage. |
| `shipment_count` | Number | Number of shipments. |
| `unique_items_shipped` | Number | Number of different inventory items shipped. |
| `acceptance_rate` | Percent | Accepted units as a share of received units. Empty when nothing was received. |
| `rejection_rate` | Percent | Rejected units as a share of received units. Empty when nothing was received. |

## Dimensions

| Dimension | Description |
| - | - |
| `product_title` | Product title (variants roll up). |
| `product_variant_title` | Product variant: splits a product into its variants. |
| `product_variant_sku` | Variant SKU. |
| `product_vendor` | Product vendor. |
| `product_type` | Shopify product type. |
| `carrier` | The shipping carrier. |
| `inventory_shipment_id` | The shipment's ID. |
| `transfer_name` | The transfer the shipment belongs to. |
| `transfer_note` | The note on the transfer. |
| `inventory_origin_name` | The location sending the stock. |
| `destination_name` | The location receiving the stock. |
| `shipment_name` | The shipment's name. |
| `shipment_status` | Where the shipment stands, such as In transit or Received. |
| `expected_delivery_at` | When the shipment is expected. |
| `shipment_shipped_at` | When the shipment was shipped. |
| `shipment_received_at` | When the shipment was received. |
| `purchase_order_name` | The purchase order the shipment receives. |
| `purchase_order_placed_at` | When the purchase order was placed. |
| `supplier_name` | The purchase order's supplier. |
| `staff_member_name` | The staff member who made the transfer. |

## Filters

| Filter | Type | Description |
| - | - | - |
| `inventory_shipment_id` | Text | The shipment's ID. |
| `transfer_name` | Text | The transfer the shipment belongs to. |
| `transfer_note` | Text | The note on the transfer. |
| `inventory_origin_name` | Text | The location sending the stock. |
| `destination_name` | Text | The location receiving the stock. |
| `shipment_name` | Text | The shipment's name. |
| `shipment_status` | Text | Where the shipment stands, such as In transit or Received. |
| `expected_delivery_at` | Date | When the shipment is expected. |
| `shipment_shipped_at` | Date | When the shipment was shipped. |
| `shipment_received_at` | Date | When the shipment was received. |
| `purchase_order_name` | Text | The purchase order the shipment receives. |
| `purchase_order_placed_at` | Date | When the purchase order was placed. |
| `supplier_name` | Text | The purchase order's supplier. |
| `staff_member_name` | Text | The staff member who made the transfer. |
| `product_title` | Text | Product title. |
| `product_variant_sku` | Text | Variant SKU. |
| `product_vendor` | Text | Product vendor. |
| `product_type` | Text | Shopify product type. |
| `carrier` | Text | The shipping carrier. |
| `purchase_order_id` | Number | The purchase order the shipment receives, if any. |

## Linked records

Fields of the records this dataset reaches can be shown, grouped by and filtered on, written with a dot after the record (for example `product.title`). Each record's page lists its fields.

| Write | Record | Reached through |
| - | - | - |
| `product.<field>` | [Product](https://docs.queryful.app/queryfulql/records/product.md) | Product |
| `shop.<field>` | [Store](https://docs.queryful.app/queryfulql/records/shop.md) | Store |

## Related datasets

* [Inventory](https://docs.queryful.app/queryfulql/datasets/inventory.md)
* [Inventory adjustments](https://docs.queryful.app/queryfulql/datasets/inventory_adjustment_history.md)
* [Received items](https://docs.queryful.app/queryfulql/datasets/inventory_shipment_received_items.md)
* [Inventory transfers](https://docs.queryful.app/queryfulql/datasets/inventory_transfers.md)
* [Purchase orders](https://docs.queryful.app/queryfulql/datasets/inventory_purchase_orders.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.