Newer Version Available

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

Availability Records, Batch Update

Update a batch of inventory records to Omnichannel Inventory. Add a new inventory record or update on hand, future quantity, future date, safety stock count, and shipping eligibility to an existing inventory record.

Supports partial success. For example, when 10 items are sent and two fail, the failed items show in the error section.

Resource
1/commerce/oci/availability-records/actions/batch-update
Available version
62.0
HTTP methods
POST
Request body for POST
OCI Batch Update Input
Root XML tag
<ociBatchUpdateInput>
JSON example
1{
2  "records": [
3    {
4      "externalRefId": "7282822-9823-aaa",
5      "futureStock": [
6        {
7          "expectedDate": "2019-08-24T21:13:00Z",
8          "quantity": 10.25
9        }
10      ],
11      "attributeSet": {
12        "groupEligibilityExclusion": [
13          "GroupA",
14          "GroupB"
15        ]
16      },
17      "locationIdentifier": "warehouse5",
18      "onHand": 1200.35,
19      "stockKeepingUnit": 12.45,
20      "sku": "sku123",
21      "actionRequestId": "82251928-8863-488e-840b-2aebd10b57ba",
22      "effectiveDate": "2019-07-24T21:13:00Z"
23    }
24  ]
25}
Properties
Name Type Description Required or Optional Available Version
records OCI Batch Update Single Input[] Data for one inventory record in a list to update. Required 62.0
Response body for POST
OCI Batch Update