Booking
While capacity bookings are primarily executed by the Promising module, understanding this transactional mechanism is critical for system integrator managing custom service categories.
The fundamental purpose of a capacity booking is to securely withhold capacity at a target node from the capacity availability pool. By withholding this capacity, the system dynamically influences subsequent reservation and estimated delivery date requests. Once a capacity slot depletes, the Promising engine automatically discovers the next available slot or pivots to an entirely different sourcing location in an effort to minimize delivery times and fulfillment delay penalties.
Supported booking types
-
- Single booking
- Allocates capacity for a single, specific time slot.
-
- Atomic bulk booking
- Enables the concurrent reservation of multiple capacity slots across different lines. This API enforces strict all-or-nothing transactional behavior. If any single line fails the capacity check due to insufficient bandwidth, the entire transaction rolls back that ensures comprehensive order integrity.
Core booking attributes
-
- Node
-
- Date and slot
- The targeted operational day and time window.
-
- Resource Pool ID
-
- Status
- The current transactional state, for example, Open, Confirmed, In Progress, or Completed.
-
- Quantity
- The specific capacity units to withhold.
-
- Reference
- The overarching business identifier, which typically resembles the cart or order ID.
-
- Line reference
- An optional identifier corresponding to specific cart or order lines.
-
- Minutes to expiry
- An optional parameter applicable only when the status is Open. It defaults to the tenant level setting but can be explicitly overridden at the API level.
Capacity status lifecycle and backlog management
-
- Open
- Resembles a cart reservation where the order has not yet been formalized in an order management system.
-
- Confirmed
- Indicates that the order is successfully created and payment is authorized.
-
- In progress
- Signifies that the order is undergoing scheduling and is actively assigned to a fulfillment node for processing.
-
- Completed
- Marks the final stage when the order is successfully shipped.
Real-world operations are not always perfect and warehouses might experience unexpected labor shortages or misplaced packing slips. If a capacity booking remains in a Confirmed or In Progress status for a date that has already passed, the Capacity Service classifies these units as backlog capacity.
Status management and modification rules
-
- By Booking ID
- Moves the status of a single, isolated booking.
-
- By Reference
- Enables all bookings sharing the same cart or order reference to transition to a new status simultaneously.