Meal Plans

Tick, untick or edit a line

Changed on
patch/api/grocery-lists/{id}/items/{itemId}

Request

  • Base URL
    https://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.rewritelifestyle.ai/api/grocery-lists/{id}/items/{itemId}
  • Auth
    HTTP bearer

Path parameters

idnumber required
itemIdnumber required

Request body

namestring
amountobject nullable
unit'g' | 'kg' | 'ml' | 'l' | 'count' | 'tsp' | 'tbsp' | 'pack' | 'can' | 'jar' | 'bottle' | 'bunch' | 'clove' | 'slice' | 'oz' | 'lb' | 'fl_oz' | 'cup' nullable
isCheckedboolean
mealPlanItemIdnumber

With isChecked: tick or untick only this meal plan item's part of the line

Example request

{
  "name": "Bananas",
  "isChecked": true,
  "mealPlanItemId": 12
}

Changes

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • info

      api tag Meal Plans added

    • info

      api tag Meal Planning removed

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      endpoint added