# Confirm Custom Ingredient Pending Changes

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

Confirm a custom ingredient's open pending changes. The fields they set are laid onto the ingredient's current version and every other field keeps its current value, exactly as `getCustomIngredientPendingChangesDiff` shows. The result is saved as the ingredient's new current version, and the pending changes close. Recipes already using the ingredient keep the version they use. Send the comparison's `main_version_id` as `If-Match` and its `changes_hash` in the body, so the confirm lands only what the person reviewed. Only a person signed in to BetterMenu can confirm.
