Vue – axios how to chain multiple requests

This is how you can chain multiple request when you use the output of the first request to the input of the second request

or

You need to call the second request when the first request is finsihed

In this example, first you update the vendor details of the product and then again make a GET request get the updated results