You just purchased a totally new item for your Sneaker store; "Essentials Women's Shelly Sneaker". You have purchased 10 pairs or boxes and will like Heims' records to reflect this order.
Maybe, you have 10 pairs or boxes you just found out, is not on Heims' database.
Let's add a new item with existing stock.
On the POST /api/items
expanded request details, select Example With new stock or exisiting stock .
Notice the values of orderInvoiceNumber
and initialStock
.
Click on Try it out button and Execute .
The response, if successful should be similar to the screenshot below.
If the operation fails, the error is returned in the response body.