InventoryItem should be passed without populating the id field. A unique id will be generated and returned in the response. This id will be used to identify the item across all other methods. This method will return 202 Accepted when the item has been queued for creation. The item is created 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"
}