Add an Item

Continuing with our fictional Sneaker Store, lets add our first item; A pair of Dolce & Gabbana Sneakers. Ensure the API server is running and visit the Swagger Docs UI page on your browser.

All requests

Click on the POST /api/items drop down to reveal this requests details. create new item Click on Try it out button and Execute . The response, if successful should be similar to the screenshot below. create new item If the operation fails, the error is returned in the response body.