šŸ”µāš« Edit an existing custom recipe.

Updates the details of an existing custom recipe identified by custom_recipe_id.

All recipe fields are optional and only the provided fields are updated.

If an ingredient list is provided without nutritional indicators, the nutritional information is automatically calculated from the valid LogMeal ingredients included in the recipe.

For translations, each language code maps to the translated dish name. A string value adds or updates the translation.
A null value deletes the stored translation for that language.

The request can be sent in two formats:

  • application/json: use this format when updating recipe data without uploading an image.
  • multipart/form-data: use the data field containing the JSON-serialized recipe payload and optionally provide the image in the image field.

The data object follows the same structure as the application/json payload.

Legacy multipart requests that provide recipe fields directly as form fields remain supported for backwards compatibility, but new integrations should use the data field.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

ID of the custom recipe.

Body Params

Custom recipe fields to update.

Use application/json when no image needs to be uploaded.

When using multipart/form-data, serialize the same JSON object in the data field and optionally attach the new recipe image in the image field.

string
boolean
Defaults to false

Whether added sugar modulation can be applied to the recipe. (e.g. coffees, yogurts, etc.).

ingredient_list
array of objects

Ingredient can only be identified by ingredientId or by ingredientName. Not both. Provide only one.

ingredient_list
nutritional_indicators
array of objects
nutritional_indicators
boolean

Indicates whether the nutritional information was automatically calculated.

translations
object
Headers
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses

400

Bad request

401

Unauthorized, invalid token.

403

Forbidden

404

Not found

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json