PATCH /api/recipes/[id]
Updates a recipe. Only the recipe owner can update it. All fields are optional.Requires authentication. Owner only.
Request Body
Same fields as Create Recipe, all optional.Response (200)
Errors
| Status | Code | Reason |
|---|---|---|
| 400 | VALIDATION_ERROR | Invalid fields |
| 401 | UNAUTHORIZED | Not authenticated |
| 403 | FORBIDDEN | Not the recipe owner |
| 404 | NOT_FOUND | Recipe not found |