curl -X PATCH https://api.example.com/products/123 \ -H "Authorization: Bearer YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "price": 15.99 }'
{ "id": 123, "name": "Premium Espresso Coffee", "price": 15.99, "image": "espresso.jpg", "inventory": 75, "categoryId": 1, "category": { "id": 1, "name": "Beverages", "image": "beverages.jpg" } }
admin
{ "statusCode": 404, "message": ["Product not found"] }