how to get state name & state code from Woocommerce Rest API
-
Hi team,
Now what I can get from the Woocommerece Rest API is only the state code, no state name.
“state”:”BC”
I want to get both of them from the API for the order info like the following
“state code”:”BC”
“state name”:”British Columbia”
How can I achieve it?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘how to get state name & state code from Woocommerce Rest API’ is closed to new replies.