Meal Plans

Add a line by hand

Changed on
post/api/grocery-lists/{id}/items

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
  • Auth
    HTTP bearer

Path parameters

idnumber required

Request body

namestring required
amountobject nullable
unit'g' | 'kg' | 'ml' | 'l' | 'count' | 'tsp' | 'tbsp' | 'pack' | 'can' | 'jar' | 'bottle' | 'bunch' | 'clove' | 'slice' | 'oz' | 'lb' | 'fl_oz' | 'cup' nullable
section'produce' | 'meat_seafood' | 'dairy_eggs' | 'bakery' | 'pantry' | 'spices' | 'frozen' | 'beverages' | 'other'

Example request

{
  "name": "Kitchen roll"
}

Changes

    • breaking

      added the new required 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

      endpoint added