I have created an API(for updating - PutMapping) which should get updated when I click on one buy button, but the problem here is when I click on one buy button, the API get