--- sidebar_label: 'Overview' sidebar_position: 1 --- # Handling deals This section describes the full deal lifecycle when integrating an external loyalty system with Future Ordering. 1. Reserve a deal when `reservation_required` is received. 2. Fulfill and update discounts when `fulfillment_required` is received. 3. Capture or annul deals after order placement. ```mermaid flowchart LR A[reservation_required] --> B[Create deal] B --> C[Reserve deal] C --> D[fulfillment_required] D --> E[Update deal and discounts] E --> F{Order placement} F -->|Success| G[capture_requested] F -->|Failure| H[annulment_requested] ``` ## In this section 1. [Reserving a deal](./reserving-a-deal.md) 2. [Fulfilling a deal](./fulfilling-a-deal.md) 3. [Post-order deal handling](./post-order-deal-handling.md)