Delivery
Destination, delivery quote and per-group tier selection.
Set the destination postal prefix
SetDestination. Replaces the destination of the cart. Idempotent by method (no Idempotency-Key). Clears the current delivery quote and selections.
Quote delivery offers for the cart
QuoteDelivery. Calls delivery-promise POST /delivery-quotes (network OHS, with the request's Idempotency-Key) synchronously and stores the returned quote: groups with their lines and offers (offerId, tier, window, expiresAt) plus the unavailable tiers. The quote holds no capacity. Publishes CartDeliveryQuoted (analytics).
Select a delivery offer for a shipment group
SelectDelivery. Replaces the selection of one shipment group. The selection must name an offer of the current quote (ErrStaleDeliverySelection; a groupNo the quote does not have is the same 409). Idempotent by method (no Idempotency-Key).
Write the offers of a checkout requote into the cart
AcceptRequotedOffers. Checkout reports REQUOTE_REQUIRED with the requotedOffers it obtained for the groups it had selected; the BFF writes them here. The supplied set REPLACES the cart's delivery quote (one offer per group) and each offer is the selection of its group, WITHOUT calling delivery-promise. A group keeps the lineNos of the previous quote's group of the same number (a single-group quote spans every line). Lines and destination are untouched. Checkout re-verifies every offer with its pre-authorize check, so nothing is trusted here. Publishes nothing.