Skip to content
Advertisement

Tag: woocommerce

Change Woocommerce API functions to async/await using NodeJS in AWS Lambda

I am looking to change a couple of Woocommerce API calls so each function finishes before the next functions proceeds. However, I am unsure how to do this without breaking the specific Node Woocommerce API code. https://woocommerce.github.io/woocommerce-rest-api-docs/?javascript#create-an-order-note How can I change those two Woocommerce POST functions to Async/Await so it works with AWS Lambda? (I have included an existing await

Advertisement