Bundle reservation
After a fulfillment manager confirms the availability for a bundle, a reservation can be created against the bundle parent for specific nodes or distribution groups.
Unlike individual items, on a successful reservation request, the reservation API returns the
following set of reservation IDs.
- Bundle parent reservation ID.
- Bundle component reservation ID.
These reservation IDs are only for reference purposes. Users cannot alter these reservation IDs.
If a reference is used the bundle parent and component shares the same reference text.
Reservation consumption
After an order is confirmed, the bundle reservation can be consumed as part of supply or demand
APIs. The fulfillment manager must pass the reservation ID for each of its component to consume the
reservation. Even though a bundle parent reservation ID is provided, you cannot use for reservation
consumption.
Important: When you consume a reservation, use the reservation IDs of the
component instead of the bundle parent reservation ID.
For example, if there is a reservation for Motor Oil Change Kit and the reservation ID that is
issued is as follows:
- Motor Oil Change Kit reservation.id=01: Do not use this ID for consumption.
- Motor Oil reservation.id=02: Use this ID.
- Funnel reservation.id=03: Use this ID.
- Drain Pan reservation.id=04: Use this ID.
{
"demands": [{
....
"reservations": [
{"id": "02","reference": "motoroilchgkit_rsvr","quantity": 4},
{"id": "03","reference": "motoroilchgkit_rsvr","quantity": 1},
{"id": "04","reference": "motoroilchgkit_rsvr","quantity": 1},
]
}]
}