Skip to content

Orders

Checkout, order lifecycle, cancellations, and fulfillment in EdgeCart.

The Orders module turns a completed cart into an order and manages everything that happens until the order is fulfilled or canceled. It is the module behind the Orders area of the admin.

Features

  • Checkout and order creation — create an order from a cart after the payment is authorized.
  • Order records — customer, addresses, line items, totals, payment status, and fulfillment status.
  • Cancellations and archive — cancel an order or move it out of the active list.
  • Fulfillment lifecycle — create fulfillments, mark them shipped with a tracking number, mark them delivered, or cancel before shipping.
  • Partial and repeated fulfillment — fulfill some items now and the rest later; the admin also offers “fulfill all open items”.

Key concepts

Concept What it means
Order A confirmed purchase with line items, totals, and customer details.
Order item A product/variant snapshot recorded on the order.
Fulfillment A shipment or delivery group for some or all order items.
Tracking number The carrier reference recorded when a fulfillment ships.
Order status The combined payment and fulfillment state shown in the admin.
Cancellation Ending the order before it is fulfilled.

How it fits

  • Cart — a cart is completed into an order only after payment authorization. The cart’s line prices and context are snapshotted.
  • Payments — supplies authorization and capture. The order page shows the payment state and the capture/refund controls.
  • Fulfillment — the order page creates, ships, delivers, or cancels fulfillments.
  • Order changes — returns, claims, and exchanges are staged from the order.
  • Sales and Catalog — supply the customer, region, tax, promotion, and product context recorded on the order.

Common tasks

  • Merchant — open Orders in the admin to find an order, capture or refund a payment, create a fulfillment, or start a return. The order detail page is the center of the workflow.
  • Developer — browse the Admin API operations in the API reference, and read API conventions for x-store-id, idempotency, and errors.

Current boundaries

  • Draft orders and arbitrary admin order editing are not implemented. Orders come from checkout.
  • Stripe supports one capture per PaymentIntent; partial capture releases the remainder. The manual provider supports cumulative captures.
  • The admin UI offers “fulfill all open items” and supports partial and repeated fulfillments.

See current limitations for the full list.

  • Cart — the pre-checkout state.
  • Payments — authorization, capture, and refunds.
  • Order changes — returns, claims, and exchanges.
  • Sales — customer, region, tax, and promotion context.

Type to search…

↑↓ navigate↵ selectEsc close