Hi we run a business where we ship grocery to inmate ordered by their families. We have an issue with our checkout process, before a client is able to view the checkout form/page, they will have entered the inmate ID number, which we send through an external api to fetch the inmate data. We have the inmates location, name, and ID.
During the checkout processes, the form for inputing the shippping address is now used to collect billing addresses, once the client hit checkout, we want to update and change the shipping address thats shown on the thank you page to an updated addressed computed via our backend/ api.
What is the proper process for achieving this, I created an app using the orderCreate webhook, but thats triggering too late and isnt updating the shipping address on the thank you page, our competitor is doing a good job at this already. So I know its possible.
Thank You