Newer Version Available

This content describes an older version of this product. View Latest

Availability Records, Get Availability

Retrieve inventory availability data for one or more products at one or more inventory locations or location groups.
Resource
1/commerce/oci/availability/availability-records/actions/get-availability
Available version
51.0
Requires Chatter
No
HTTP methods
POST
Request body for POST
OCI Get Inventory Availability Input
Root XML tag
<ociGetInventoryInput>
Properties
Name Type Description Required or Optional Available Version
locationGroupIdentifier 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
locationGroupIdentifiers 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 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 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 Whether to fetch the inventory data from the cache. The default value is True.. Optional 51.0
Response body for POST
OCI Get Inventory Availability Output