alicli documentation

order

order

Stage and review an order locally; current production placement is manual.

alicli order stage --imprint '{"supplier":{"name":"Example Components"},"items":[{"title":"Example bracket","qty":100,"unitPrice":2.5}],"currency":"USD","total":250}' --json
alicli order list --state staged --json
alicli order show <token>
alicli order approve <token>

Replace <token> with the token returned by staging. The imprint requires a supplier name, three-letter currency, nonempty items, positive integer quantities and nonnegative whole-cent unit prices. A supplied total must match the computed sum. Control/format characters in human-facing fields are rejected.

Placement and resolution

The shipped MobileRun transport has no order-placement executor. order place <token> on an approved order therefore refuses with manual-placement instructions. A human places the order in Alibaba, verifies it, then records the result with order resolve <token> --placed. Do not mistake local approval for a purchase.

Field or optionMeaning
show / listInspect the imprint, state and events; list supports --state and --limit.
denyReject a staged order. Optional --reason records a note.
cancelCancel a staged or approved record that has not entered placement.
resolve --placed / --not-placedRecord a human-verified result. --not-placed is for a frozen attempt, not cancellation of an unplaced approved order.

The domain also supports executor-backed placing/unknown states for transports that implement it. An unknown outcome freezes the token until human resolution; it never permits a blind repeat of the purchase.

order approval ยท doctor