commerce_inventory.CommerceInventoryService

The Upsert Inventory Reservation is a wrapper for the inventory service which can create or update a reservation

ParamDescription
upsertReservationRequestThe reservation request.
currentReservationThe current state of the inventory reservation.
reservationChangeTypethe type of change that will be made on the reservation. The Possibles values are ALL, HEADER, ITEMS (otherwise an error will be send)
TypeDescription
UpsertReservationResponseUpsertReservationResponse object representing response.

GovernorLimits (limits = GovernorLimits.LimitType.READONLY)

The deleteReservation is a wrapper for the inventory service to delete the inventory reservation

ParamDescription
reservationIdentifierThe identifier for the reservation record.
currentReservationThe current state of the inventory reservation.
TypeDescription
DeleteReservationResponseDeleteReservationResponse object representing response of the deletion.

GovernorLimits (limits = GovernorLimits.LimitType.READONLY)

The get reservation is a wrapper to get the reservation information from the inventory provider

ParamDescription
reservationIdentifierThe identifier for the reservation.
TypeDescription
InventoryReservationInventoryReservation object representing the reservation.

GovernorLimits (limits = GovernorLimits.LimitType.READONLY)

The check inventory is a wrapper to determine if a set of products and quantity are available

ParamDescription
requestThe inventory check request

GovernorLimits (limits = GovernorLimits.LimitType.READONLY)

The check inventory is a wrapper to determine if a set of products and quantity are available

ParamDescription
requestThe inventory check request

GovernorLimits (limits = GovernorLimits.LimitType.READONLY)