Generate Shopping List
POST {{baseUrl}}/mealplanner/:username/shopping-list/:start-date/:end-date?hash=occaecat aliqua Duis cupidatat tempor
Generate the shopping list for a user from the meal planner in a given time frame.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
hash | string | (Required) The private hash for the username. |
Request Body
{"username"=>"dsky", "start-date"=>"2020-06-01", "end-date"=>"2020-06-07", "hash"=>"4b5v4398573406"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | null |
RESPONSES
status: OK
{"aisles":[{"aisle":"Baking","items":[{"id":115388,"name":"baking powder","measures":{"original":{"amount":1,"unit":"package"},"metric":{"amount":1,"unit":"pkg"},"us":{"amount":1,"unit":"pkg"}},"pantryItem":false,"aisle":"Baking","cost":0.71,"ingredientId":18369}]}],"cost":0.71,"startDate":1588291200,"endDate":1588896000}