CommerceInventoryService (Dev Preview)
Feature is available as a developer preview. Feature isnβt generally available unless or until Salesforce announces its general availability in documentation or in press releases or public statements. All commands, parameters, and other features are subject to change or deprecation at any time, with or without notice. Don't implement functionality developed with these commands or tools.
Init the apex class with the Default inventory provider
The Upsert Inventory Reservation is a wrapper for the inventory service which can create or update a reservation
Param | Description |
---|---|
upsertReservationRequest | The reservation request. |
currentReservation | The current state of the inventory reservation. |
reservationChangeType | The type of change that will be made on the reservation. The possible values are ALL , HEADER , and ITEMS (otherwise an error will be sent) |
Type
UpsertReservationResponse
Description
UpsertReservationResponse object representing response.
GovernorLimits (limits = GovernorLimits.LimitType.READONLY)
The deleteReservation is a wrapper for the inventory service to delete the inventory reservation
Param | Description |
---|---|
reservationIdentifier | The identifier for the reservation record. |
currentReservation | The current state of the inventory reservation. |
Type
DeleteReservationResponse
Description
DeleteReservationResponse 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
Param | Description |
---|---|
reservationIdentifier | The identifier for the reservation. |
Type
InventoryReservation
Description
InventoryReservation 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
Param | Description |
---|---|
request | The 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
Param | Description |
---|---|
request | The inventory check request |
GovernorLimits (limits = GovernorLimits.LimitType.READONLY)