You are here:
Get Availability Action
In Omnichannel Inventory, get inventory availability data for one or more products at one or more inventory locations or location groups.
Required Editions
| Available in: Lightning Experience |
| View supported editions. |
| This feature requires the Salesforce Omnichannel Inventory add-on. To purchase, contact your Salesforce account executive. |
In Flow Builder, add an Action element to your flow. Select the Omnichannel Inventory Service category, and search for Omnichannel Inventory Service Get Availability.
Set Input Values
Use values from earlier in the flow to set the inputs.
| Input Parameter | Description |
|---|---|
| Omnichannel Inventory Service Get Availability Input | This input is an Apex-defined variable of class ConnectApi.OCIGetInventoryAvailabilityInputRepresentation. The variable has these fields.
|
Store Output Values
| Output Parameter | Description |
|---|---|
| Omnichannel Inventory Service Get Availability Output | This input is an Apex-defined variable of class ConnectApi.OCIGetInventoryAvailabilityOutputRepresentation. The variable has these fields.
|
To set up the Omnichannel Inventory Service Get Availability Input:
- Use Assignment elements to set the locationGroupIdentifier, locationGroupIdentifiers, or locationIdentifiers field value, stockKeepingUnit or stockKeepingUnits field value, and useCache field value on a ConnectApi.OCIGetInventoryAvailabilityInputRepresentation variable.
- Use the ConnectApi.OCIGetInventoryAvailabilityInputRepresentation variable in the action input.

