ConnectApi.OCIGetInventoryAvailabilityInputRepresentation

Details of a request to retrieve inventory availability.

PropertyTypeDescriptionRequired or OptionalAvailable Version
includeRelated​ProductsBooleanSpecifies 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.Optional64.0
locationGroup​IdentifierStringThe 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 locationIdentifiers51.0
locationGroup​IdentifiersList<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 locationIdentifiers51.0
locationIdentifiersList<String>A list of up to 100 External References of locations to retrieve inventory availability data for.Optional; can’t combine with locationGroupIdentifier or locationGroupIdentifiers51.0
stockKeepingUnitStringThe 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 stockKeepingUnits51.0
stockKeepingUnitsList<String>A list of up to 100 SKUs of products to retrieve inventory availability data for.Optional; can’t combine with stockKeepingUnit51.0
useCacheBooleanSpecifies whether to fetch the inventory data from the cache. The default value is true.Optional51.0