You can use the deleteInventory
endpoint to delete the inventory of a specific SKU at a specific location. This endpoint takes a type
query parameter to specify the item type. The value of this parameter must be product
(for a product) or variant
(for a SKU). The default is variant
, so if you omit the parameter, Oracle Commerce assumes that the item is a SKU.
For example:
DELETE /ccadmin/v1/inventories/xsku5014?locationId=Cambridge_MA HTTP 1.1
Authorization: Bearer <access_token>