Hello,
I am trying to get value from a webhook. Any help would be appreciated!
Situation:
Country code gets submitted from WooCommerce (US,GB,CA, etc) - Then I have list like this from a 3rd party service:
I need matching id # to the country code so I can use it in later steps.
So based on iso-31661-a2 (which I get from step 1) I want to get id.
So if iso-3166-1a2 = AT, id is 2. How can I get ids by having iso-3166-1-a2 (country code) value?
Thank you!