Skip to main content

Delete Inventory

Remove an inventory item (soft delete).

Endpointโ€‹

DELETE /v1/products/{id}/inventory/{inventoryId}

Authenticationโ€‹

Requires an API key with the products:write scope.

Parametersโ€‹

ParameterTypeLocationDescription
idintegerpathThe product ID
inventoryIdintegerpathThe inventory item ID

Responseโ€‹

Success (204 No Content)โ€‹

Returns no content on successful deletion.

Example Requestโ€‹

curl -X DELETE "https://app.equipdash.com/api/v1/products/1/inventory/5" \
-H "Authorization: Bearer YOUR_API_KEY"

Errorsโ€‹

StatusCodeDescription
401authentication_requiredNo API key provided
403insufficient_scopeAPI key lacks products:write scope
404resource_not_foundProduct or inventory item not found

Important Notesโ€‹

  • Inventory items are soft-deleted (marked as deleted, not permanently removed)
  • Deleted inventory items no longer appear in availability calculations
  • Historical bookings referencing deleted inventory are preserved