Skip to content

Order card

What was bought or booked, what it cost and where it stands — a receipt, one row, or the confirmation of a booking.

On this page
Open
The order card, as a receipt, in an aparté chat The order card, as a receipt, in an aparté chat

The whole record, as a receipt: the lines, the totals (worked out when the tool leaves them out, and a tool’s own total always wins), the payment, the delivery with its estimate and a Track button, and the address. Its status is a word in the chat’s language.

Open

One row, for a list of past orders.

Open

kind: 'booking' with the confirmation variant: the moment it is placed. A hotel’s "2026-11-14" is a day, not midnight, and the card counts the nights between two of them.

Open

The order number the call names is shown, not shimmered: it is already known.

Open

An order is the kind of call that waits for a yes. While it waits, and once it is refused, the card is one line that says so: a card drawn from a call that did not run would show a purchase that did not happen. The decision itself is asked by the approval panel.

bash
npm install @aparte/plugin-cards @aparte/core
ts
import { setupOrderCard } from '@aparte/plugin-cards/order';

setupOrderCard({ tool: 'get_order' });
setupOrderCard({ tool: 'book_room', map: (result) => ({ ...result, kind: 'booking' }), variant: 'confirmation' });

readOrder already takes a Shopify or WooCommerce order and a Stripe Checkout session (say minorUnits: true for amounts in cents). The fields are in the guide.

  • Approval — the question an order waits on.
  • Product card — the products before they are bought.