Skip to main content
POST
/
commerce
/
inventory
/
v5
/
inventory
/
delete
Error
A valid request URL is required to generate request examples
{
  "dryRun": true,
  "itemsDeleted": [
    {
      "productID": 123,
      "inventoryIDs": [
        123
      ],
      "locationIDs": [
        123
      ],
      "locationCodes": [
        "<string>"
      ],
      "auditIDs": [
        123
      ],
      "itemIdentifier": {
        "partNumber": "<string>",
        "upc": "<string>",
        "sku": "<string>"
      }
    }
  ],
  "totalAuditsDeleted": true,
  "totalInventoryEntriesDeleted": true,
  "totalLocationsAffected": true,
  "totalPickWavesDeleted": true,
  "totalProductsDeleted": true,
  "jobIDs": true
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme.

Query Parameters

x-vol-site
integer

Site ID

Body

application/json

Request to delete item(s)

Request needed for deleting inventory

dryRun
boolean

Flag used to differentiate between a test and a non-test run.

explicit
boolean

Flag used to request explicit inventory, location, pick wave, and audit information for each request item.

locationCodes
string[]

An array of locationCodes to be considered for item-deletion purposes. Optional. All locationCodes associated with the requesting tenant will be considered if no locationCodes are provided.

allLocations
boolean

Flag used to request deletion of inventory across all locations (overrides locationCodes).

partNumber
string

The part number of the item to be deleted. Supports basic regex operators: .*+?^$[]

upc
string

The upc of the item to be deleted. Supports basic regex operators: .*+?^$[]

sku
string

The sku of the item to be deleted. Supports basic regex operators: .*+?^$[]

tags
object

Associative Map of <String, String> for tagCategoryName => tagName

Response

Success

Delete Item Response

dryRun
boolean

Flag used to differentiate between a test and a non-test run.

itemsDeleted
M_DeleteItem · object[]

Items deleted due to the request

totalAuditsDeleted
boolean

Flag used to differentiate between a test and a non-test run.

totalInventoryEntriesDeleted
boolean

Flag used to differentiate between a test and a non-test run.

totalLocationsAffected
boolean

Flag used to differentiate between a test and a non-test run.

totalPickWavesDeleted
boolean

Flag used to differentiate between a test and a non-test run.

totalProductsDeleted
boolean

Flag used to differentiate between a test and a non-test run.

jobIDs
boolean

Flag used to differentiate between a test and a non-test run.