Przejdź do głównej zawartości

Enums overview

📄️ CartStatus

Cart lifecycle status. ACTIVE and RECOVERED are editable carts. ABANDONED flags a cart the buyer left inactive (used for recovery campaigns) — it is not locked: a deliberate buyer action revives it in place to RECOVERED and the mutation proceeds. RECOVERED is a previously-abandoned cart the buyer came back to (via a recovery link or by acting on it again). CONVERTED carries an associated completedOrder; query that to redirect the buyer to their order confirmation, since editing a converted cart returns CartErrorCode.ALREADYCOMPLETED. EXPIRED is past its lifetime with no order; editing it returns CartErrorCode.CARTNOT_FOUND — create a fresh cart.