Reconcile lower-item-price
Send this supplied snapshot as one separate call. Inspect total, missingComponents and any declared-total mismatch. Missing shipping, tax or fees must stay null; never replace an unknown cost with zero.
Sample input
{
"currency": "USD",
"minorUnitDigits": 2,
"items": [
{
"id": "identical-item",
"unitPrice": "18.00",
"quantity": 1,
"discount": "0.00"
}
],
"orderDiscount": "0.00",
"shipping": "5.99",
"tax": "1.50",
"fees": "0.00"
}Sample result
{
"currency": "USD",
"minorUnitDigits": 2,
"lines": [
{
"id": "identical-item",
"subtotal": "18.00",
"discount": "0.00",
"total": "18.00"
}
],
"itemSubtotal": "18.00",
"lineDiscounts": "0.00",
"orderDiscount": "0.00",
"knownTotal": "25.49",
"total": "25.49",
"missingComponents": [],
"matchesDeclaredTotal": null,
"difference": null,
"scope": "Exact arithmetic on supplied amounts only. Discounts are absolute amounts; line discount applies once to the whole line. Missing shipping, tax or fees remain unknown. No tax-law calculation, checkout verification or currency-exponent lookup."
}Generated from the current handler at build time using fictional inputs. Reading this example sends no paid request.
commerce.price-components · $0.0005 per call ↗