1
Strapi how to update single product via api tutorial # 6
Strapi how to update single product via api tutorial # 6
In this tutorial we will learn how to update single product if you know id.
You need to send put request from your api client.
[sourcecode]http://localhost:1337/api/products/:id[/sourcecode]Let suppose your product id is 2. Your response should look like this.
[sourcecode]http://localhost:1337/api/products/2[/sourcecode]if your id is 30. Your response should look like this.
[sourcecode]http://localhost:1337/api/products/30[/sourcecode]and so on..