How to make API calls in a guven order

Can’t make calls in correct order

I was trying to reproduce given user scenario but failed to recreate correct order of requests to in k6 ..I think it’s a mix of Promise.All with syncronous calls, but yet didn’t go well((

Appreciate your help)

Given scenario