Inventory Purchase Order Line Item
Requires access scope. Also: The user must have permission to view purchase orders. The shop must have access to the physical inventory feature preview.
Represents a line item belonging to an inventory purchase order. This is a simplified view of the purchase order line item for inventory management purposes.
This object is available only in the unstable API version and to development stores that have enabled the Physical inventory feature preview.
This object is available only in the unstable API version and to development stores that have enabled the Physical inventory feature preview.
Note: This object is available only in the unstable API version and to development stores that have enabled the <a href="https://shopify.dev/changelog/physical-inventory-feature-preview">Physical inventory feature preview</a>.
Anchor to FieldsFields
- id (ID!)
- inventoryItem (InventoryItem)
- purchaseOrder (InventoryPurchaseOrder)
- subtotal (MoneyV2)
- supplierSku (String)
- taxPercent (Decimal)
- title (String)
- totalCost (MoneyV2)
- totalQuantity (Int!)
- unitCost (MoneyV2)
- variantTitle (String)
- •ID!non-null
A globally unique identifier.
- Anchor to inventoryIteminventory•Inventory
Item Item The inventory item associated with this line item.
- Anchor to purchaseOrderpurchase•Inventory
Order Purchase Order The purchase order this line item belongs to.
- Anchor to subtotalsubtotal•Money
V2 The unit cost multiplied by the total quantity for the line item.
- Anchor to supplierSkusupplier•String
Sku The SKU for the item.
- Anchor to taxPercenttax•Decimal
Percent The tax rate percentage for the line item.
- Anchor to titletitle•String
The title of the product associated with this line item.
- Anchor to totalCosttotal•Money
Cost V2 The total cost of the line item, including taxes.
- Anchor to totalQuantitytotal•Int!
Quantity non-null The total number of units ordered for the line item.
- Anchor to unitCostunit•Money
Cost V2 The unit cost of the item paid to the supplier.
- Anchor to variantTitlevariant•String
Title The title of the variant associated with this line item.