InventoryItem should be passed with the id field populated with the value returned from createItem. InventoryItems returned from the service will have id populated. InventoryItem.id must match the id in the URL. This method will return 202 Accepted when the item has been queued for update. The item is updated asynchronously.
item
Accepted
Invalid request
Invalid or missing credentials
User not authorized to perform this operation
{- "consumeByDateTime": "string",
- "description": "string",
- "id": "string",
- "inventoryDimensionalWeight": {
- "cubicDimension": {
- "length": 0,
- "width": 0,
- "height": 0
}, - "lengthUnit": "IN",
- "packageType": "BAG",
- "quantity": 0,
- "weight": {
- "weight": 0,
- "weightUnit": "LB"
}
}, - "inventoryIdentifiers": [
- {
- "description": "string",
- "type": "DEPARTMENT",
- "value": "string"
}
], - "lineItemHazmatDetail": {
- "identificationNumber": "string",
- "properShippingName": "string",
- "hazardClass": "string",
- "packingGroup": "I"
}, - "manufacturedDateTime": "string",
- "orderIds": [
- "string"
], - "packagedDateTime": "string",
- "perUnitCost": {
- "currency": "USD",
- "amount": 0
}, - "perUnitRetailValue": {
- "currency": "USD",
- "amount": 0
}, - "perishable": true,
- "promotionalDateTimeWindow": {
- "startDateTime": "2019-08-24T14:15:22Z",
- "endDateTime": "2019-08-24T14:15:22Z"
}, - "sellByDateTime": "string",
- "serialNumber": "string",
- "shipmentIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "stockKeepingUnit": "string",
- "taxable": true,
- "universalProductCode": "string"
}
{- "id": "string"
}