PurchaseOrderLineItem
A line item, returned with include=line_items on the purchase order read endpoints.
The line item's ID. Send it on PATCH to change or remove this line.
31842The identifier you sent for this line, if any. Unique within the purchase order.
nullThe product's SKU in the merchant's Shopify store.
WIDGET-1The 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.
false2026-06-01T12:00:00.000Z2026-06-01T12:00:00.000Z{
"id": 31842,
"client_line_id": null,
"sku": "WIDGET-1",
"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,
"created_at": "2026-06-01T12:00:00.000Z",
"updated_at": "2026-06-01T12:00:00.000Z"
}