V1 and V2 API URLs and event identifiers for Inventory service
The V1 APIs and event identifiers for Inventory service are deprecated, and they are replaced with the V2 APIs and event identifiers. From 2023 onwards, use the V2 APIs and event identifiers.
V1 and V2 URLs
| V1 URL | V2 URL | |
|---|---|---|
| Network availability | https://{host}/inventory/{tenantId}/v1/availability/network | HTTP://{host}/inventory/{tenantId}/v2/availability/network |
| Network availability product breakup | https://{host}/inventory/{tenantId}/v1/availability/{itemId}/network/ | https://{host}/inventory/{tenantId}/v2/availability/{itemId}/network/ |
| Node availability | https://{host}/inventory/{tenantId}/v1/availability/node | https://{host}/inventory/{tenantId}/v2/availability/node |
| Node availability product breakup | https://{host}/inventory/{tenantId}/v1/availability/{itemId}/node | https://{host}/inventory/{tenantId}/v2/availability/{itemId}/node |
| Detailed node availability | https://{host}/inventory/{tenantId}/v1/availability/{itemId}/node/detail | https://{host}/inventory/{tenantId}/v2/availability/{itemId}/node/detail |
| Reservation |
|
|
| Event trigger |
|
|
V1 and V2 event identifiers
| V1 event identifier | V2 event identifier | |
|---|---|---|
| Availability change | DgAvailabilityChange | dgAvailabilityChange.v2 |
| Availability snapshot | ProductAvailabilityToSell.DistributionGroupSnapshot | dgAvailabilitySnapshot.v2 |
| Product availability | ProductAvailabilityToSell.ShipNodeChange | productAvailability.v2 |
| Product availability snapshot | ProductAvailabilityToSell.ShipNodeSnapshot | productAvailabilitySnapshot.v2 |
For more information, see Event formats.