POST /mealplanner/{username}/shopping-list/items

Add to Shopping List

Add an item to the current shopping list of a user.

Request Traces

Request Headers

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

Request Content

{
   "aisle": "string",
   "item": "string",
   "parse": false,
}

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