PurchaseOrderDetailLineItem
A line item on a purchase order returned by the create, update and cancel endpoints.
The line item's ID. Send it on PATCH to change or remove this line.
1The identifier you sent for this line, if any. Unique within the purchase order.
nullThe product's SKU in the merchant's Shopify store.
TSHIRT-BLK-MThe item's barcode.
nullProduct title.
WidgetThe product image from the Shopify store.
nullCost per unit, in the purchase order's currency.
4.5unit_cost times quantity_ordered, before tax.
45The Shopify product ID (gid://shopify/Product/<id>). You can look these IDs up with the Shopify Admin GraphQL API.
gid://shopify/Product/1The Shopify product variant ID (gid://shopify/ProductVariant/<id>). You can look these IDs up with the Shopify Admin GraphQL API.
gid://shopify/ProductVariant/1The Shopify location for this line (gid://shopify/Location/<id>).
gid://shopify/Location/1Name of the line's location.
Main WarehouseTax rate for the line as a percentage, returned as a string, for example "8.25" for 8.25%.
0.0The supplier's own code for this item.
nullA note on this line.
nullThe variant's title, for example a size or colour.
Default TitleNumber of units ordered.
10The Shopify inventory item ID (gid://shopify/InventoryItem/<id>). You can look these IDs up with the Shopify Admin GraphQL API.
gid://shopify/InventoryItem/1Display order of the line on the purchase order.
1True when the line was added while receiving stock, not when the order was placed.
falsevariant_supplier_cost objectnullable
This item's entry in the supplier's price list in Bookkeep: the supplier's SKU, prices and pack details. Null when none is recorded.
The Shopify inventory item the entry is for, as the number only, without the gid://shopify/InventoryItem/ prefix the line's own inventory_item_id has.
46217359098139The supplier's code for the item.
SUP-WIDGET-1The price on the supplier's price list.
4.5The unit cost most recently paid for the item.
4.5Currency of supplier_price and last_cost.
USDWhether this supplier is the item's default supplier.
trueUnits per pack when ordering.
1Unit the item is ordered in, for example case.
eachCost of one ordering unit.
4.5Unit the item is stocked in.
eachUnit the item is sold in.
each2026-06-01T12:00:00.000Z2026-06-01T12:00:00.000Z{
"id": 1,
"client_line_id": null,
"sku": "TSHIRT-BLK-M",
"barcode": null,
"title": "Widget",
"image_url": null,
"unit_cost": 4.5,
"line_total": 45,
"product_id": "gid://shopify/Product/1",
"variant_id": "gid://shopify/ProductVariant/1",
"location_id": "gid://shopify/Location/1",
"location_name": "Main Warehouse",
"tax_percent": "0.0",
"supplier_sku": null,
"note": null,
"variant_title": "Default Title",
"quantity_ordered": 10,
"inventory_item_id": "gid://shopify/InventoryItem/1",
"position": 1,
"added_during_receiving": false,
"variant_supplier_cost": {
"inventory_item_id": "46217359098139",
"supplier_sku": "SUP-WIDGET-1",
"supplier_price": 4.5,
"last_cost": 4.5,
"currency": "USD",
"is_default": true,
"pack_size": 1,
"order_uom": "each",
"case_cost": 4.5,
"base_uom": "each",
"sold_by": "each"
},
"created_at": "2026-06-01T12:00:00.000Z",
"updated_at": "2026-06-01T12:00:00.000Z"
}