AgentBIThe agent-readiness loop for DTC sites — scan, optimize, operate

Back to the knowledge base

OPT-4

Split lines and status for preorder / split-shipment orders (sandbox only)

Published:2026-11-30Views:0

After a successful payment, cancellation, partial refund and full refund often appear only in email or in a signed-in account page, while the publicly readable confirmation page still says paid. An agent re-checking the transaction reads a stale state, and its answer naturally diverges from reality.

Define a minimal publicly readable set of order-state fields: order id, current state, state effective time and refundable amount, with the confirmation page and the account page sharing one source of truth. Update that state when a cancellation or refund happens instead of only sending an email, and sample completed orders in release regression to confirm a signed-out session reads the same state as the internal one.

This article covers a machine-readable convention for order state; it passes no verdict on any refund outcome and does not cover signed-in private data. Record states and times as observed, write flat numbers as flat, and do not use them to push a change of flow or direction.

2026-12-04