curl --request DELETE \
--url https://api.example.com/api/product/inventory/delete/{product_id}{
"message": "<string>",
"productId": "<string>"
}Delete a product from the inventory
curl --request DELETE \
--url https://api.example.com/api/product/inventory/delete/{product_id}{
"message": "<string>",
"productId": "<string>"
}DELETE /api/product/inventory/delete/{product_id}
Authorization: Bearer <your_access_token>
delete_inventory_product_data service function.
curl -X DELETE https://api.expireeye.com/api/product/inventory/delete/550e8400-e29b-41d4-a716-446655440000 \
-H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
{
"message": "Product deleted successfully",
"productId": "550e8400-e29b-41d4-a716-446655440000"
}
{
"detail": "Product not found"
}