Check the costing ledger against Shopify
Per item: Stockroom's on hand by its costing ledger (opening stock + receipts - sales + restocks +/- adjustments - supplier returns, through today) beside Shopify's on hand. difference = Shopify minus Stockroom: positive means Shopify holds units no movement brought in, negative means Stockroom recorded units Shopify never got. On a costing-only store with a complete integration every difference is zero. Sales reach the ledger nightly, so a sale shipped today can show here until tomorrow.
Only items that differ, unless include_matched=true. Ordered by inventory_item_id. The check is computed once and cached for five minutes - as_of says when.
next_cursor from the previous page. A cursor that cannot be read is 400 invalid_cursor.truefalsefifoweighted_averageorderfulfillmentcurl "https://api.stockroom.app/v2/costing/reconciliation" \
-H "Authorization: Bearer $STOCKROOM_KEY"{
"as_of": "2026-09-11T08:12:44Z",
"stock_managed_externally": false,
"cutover": "2026-09-11",
"method": "fifo",
"basis": "order",
"totals": {
"stockroom_on_hand": 1,
"shopify_on_hand": 1,
"difference": 1,
"items_differing": 1
},
"data": [
{
"inventory_item_id": 44811223344,
"variant_id": 40011223344,
"sku": "MUG-BLU",
"product_title": "Stoneware mug",
"variant_title": "Blue",
"stockroom_on_hand": 1,
"shopify_on_hand": 1,
"difference": 1,
"costed": false
}
],
"next_cursor": "eyJpZCI6MTA0Mn0",
"has_more": true
}