# Update Recipe Serving



{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

Replace a serving's size input (full replacement by ID).

Replaces the serving\_size input for the specified serving, resolves
the new serving\_size inline, and resets per-serving and per-container
nutrition facts to None — call computeNutritionFacts after updating
to refresh the compliant label.

For racc\_guided mode, use searchUsRaccCategories to find the right
RACC food category first.

<APIPage document="&#x22;bettermenu&#x22;" operations="[{&#x22;path&#x22;:&#x22;/studio/recipes/{recipe_id}/servings/{serving_id}&#x22;,&#x22;method&#x22;:&#x22;put&#x22;}]" />
