Add to Meal Plan
POST {{baseUrl}}/mealplanner/:username/items?hash=occaecat aliqua Duis cupidatat tempor
Add an item to the user's meal plan.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
hash | string | (Required) The private hash for the username. |
Request Body
{"date"=>1589500800, "slot"=>1, "position"=>0, "type"=>"INGREDIENTS", "value"=>{"ingredients"=>[{"name"=>"1 banana"}]}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{}