POST /mealplanner/{username}/shopping-list/{start-date}/{end-date}

Generate Shopping List

Generate the shopping list for a user from the meal planner in a given time frame.

Request Traces

Request Headers

POST https://api.spoonacular.com/mealplanner/{username}/shopping-list/{start-date}/{end-date}
Accept: application/json

HTTP Response

HTTP 200

Success

{
   "aisles":    [
      {
         "aisle": "string",
         "items":          [
            {
               "aisle": "string",
               "cost": 0,
               "id": 0,
               "ingredientId": 0,
               "measures":                {
                  "metric":                   {
                     "amount": 0,
                     "unit": "string",
                  },
                  "original":                   {
                     "amount": 0,
                     "unit": "string",
                  },
                  "us":                   {
                     "amount": 0,
                     "unit": "string",
                  },
               },
               "name": "string",
               "pantryItem": false,
            },
         ],
      },
   ],
   "cost": 0,
   "endDate": 0,
   "startDate": 0,
}
HTTP 401

Unauthorized

HTTP 403

Forbidden

HTTP 404

Not Found