---
schema_version: "1"
id: 2264560ee5eea98261ea88b6f95929ab59eb2bc939f827758c7c9c9f01a3a1c3
title: ConnectApi.OCIGetInventoryAvailabilityInputRepresentation
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_input_o_c_i_get_inventory_availability.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_o_c_i_get_inventory_availability.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 86cd3071ecb3db30715d9e140a35b2f45224d5b568de3272e023ac421a154e09
description: Details of a request to retrieve inventory availability.
---
# ConnectApi.OCIGetInventoryAvailabilityInputRepresentation

Details of a request to retrieve inventory availability.

| Property | Type | Description | Required or Optional | Available Version |
| --- | --- | --- | --- | --- |
| includeRelated​Products | Boolean | Specifies whether the returned inventory level includes variant products if the given product has variants. When set to true, only one product ID is accepted. There's a limit of 100 variant products. If the total of variants exceeds 100, no variants are included in the inventory level. | Optional | 64.0 |
| locationGroup​Identifier | String | The External Reference of a location group to retrieve inventory availability data for. Specifying this value retrieves inventory data for all locations belonging to this group. | Optional; can’t combine with locationGroupIdentifiers or locationIdentifiers | 51.0 |
| locationGroup​Identifiers | [List](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list "Contains methods for the List collection type.")<String> | A list of up to 100 External References of location groups to retrieve inventory availability data for. | Optional; can’t combine with locationGroupIdentifier or locationIdentifiers | 51.0 |
| locationIdentifiers | [List](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list "Contains methods for the List collection type.")<String> | A list of up to 100 External References of locations to retrieve inventory availability data for. | Optional; can’t combine with locationGroupIdentifier or locationGroupIdentifiers | 51.0 |
| stockKeepingUnit | String | The SKU of a product to retrieve inventory availability data for. Specifying a SKU with no locations or location groups returns availability data for that SKU at all inventory locations that aren’t assigned to location groups. | Optional; can’t combine with stockKeepingUnits | 51.0 |
| stockKeepingUnits | [List](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list "Contains methods for the List collection type.")<String> | A list of up to 100 SKUs of products to retrieve inventory availability data for. | Optional; can’t combine with stockKeepingUnit | 51.0 |
| useCache | Boolean | Specifies whether to fetch the inventory data from the cache. The default value is true. | Optional | 51.0 |