Update Bumdes
To create the data in the specified collection with the specified parameters. When a JSON object is saved, the object properties are automatically added to the collection you specified.
Method : POST
URL : /bumdes/produk/(ID)?_method=PUT
Body : JSON
{ "nama_produk": "Produk Bumdes A", "deskripsi": "Deskripsi Produk Bumdes A", "harga": "2022"}
Response : 200 OK
{ "message": "Success update bumdes", "status": 200}
Response : 422 UNPROCESSABLE CONTENT
{ "error": { "nama_produk": ["The nama produk field is required."], "deskripsi": ["The deskripsi field is required."], "harga": ["The harga field is required."] }}
Response : 500 ERROR
Internal Server Error