Newer Version Available

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

OCI Inventory Check Availability Input

Check inventory availability in either an individual location or group location. Check for available to fulfill, available to order, and on hand quantity information.
Root XML tag
<InventoryCheckAvailabilityInput>
JSON example - Locations
1{
2  "locations": [
3    {
4      "locationId": "131xx0000004FwPAAU",
5      "includeInventoryLevel": false,
6      "products": [
7        {
8          "product2Id": "01txx0000006i65AAA",
9          "quantity": 10
10        },
11        {
12          "product2Id": "01txx0000006i66AAA",
13          "quantity": 11
14        }
15      ]
16    },
17    {
18      "locationId": "131xx1234567FwSAAU",
19      "includeInventoryLevel": false,
20      "products": [
21        {
22          "product2Id": "01txx0000006i67AAA",
23          "quantity": 100
24        },
25        {
26          "product2Id": "01txx0000006i68AAA",
27          "quantity": 400
28        }
29      ]
30    }
31  ],
32  "inventoryDimension": "AvailableToOrder"
33}
JSON example - Location Groups
1{
2  "locationGroups": [
3    {
4      "locationGroupId": "0ghxx000000001eAAA",
5      "includeInventoryLevel": false,
6      "products": [
7        {
8          "product2Id": "01txx0000006i65AAA",
9          "quantity": 10
10        },
11        {
12          "product2Id": "01txx0000006i66AAA",
13          "quantity": 11
14        }
15      ]
16    },
17    {
18      "locationGroupId": "0ghxx000000001dAAA",
19      "includeInventoryLevel": false,
20      "products": [
21        {
22          "product2Id": "01txx0000006i67AAA",
23          "quantity": 100
24        },
25        {
26          "product2Id": "01txx0000006i68AAA",
27          "quantity": 400
28        }
29      ]
30    }
31  ],
32  "inventoryDimension": "AvailableToOrder"
33}
Properties
Name Type Description Required or Optional Available Version
inventoryDimension String Fulfillment option you want to check.
  • On Hand: Inventory available, not counting Future Inventory or Quantity Reserved.
  • Available to Fulfill (ATF): Inventory that can be fulfilled now.
  • Available to Order (ATO): Inventory that can be ordered. Default option if no dimension is selected.
Optional 60.0
locationGroups OCI Location Group Check Availability Input[] A list of inventory availability data for location groups. Required if locations isn’t requested. 60.0
locations OCI Location Check Availability Input[] A list of inventory availability data for individual locations. Required if locationsGroups isn’t requested. 60.0