ย ยทย Business Owner

How to call 2 APIs simultaneously that are interdependant

Resolved

products API call 1 โ†’ Prices API call2 with default_priceID -> Display Front End

I have got a list of all Stripe Products but the price of the product comes from a different API call. In the example above, the default_priceID is the price_id from the products API Call.

How do I run the second API call after the first one has run and where and how do I do this please?

17 replies