Retrieve continent data rest api endpoint response mismatch
-
Hi,
I’m trying to list all the countries for Europe with the this endpoint:
https://mysite.com/wp-json/wc/v3/data/continents/euI got this as a response not the one described in the documentation:
{ "code": "EU", "name": "Európa", "countries": [ { "code": "AD", "name": "Euro", "currency_code": "EUR", "currency_pos": "right_space", "decimal_sep": ",", "dimension_unit": "cm", "num_decimals": 2, "thousand_sep": ".", "weight_unit": "kg", "states": [] }, { "code": "AL", "name": "Albanian lek", "currency_code": "ALL", "currency_pos": "right_space", "decimal_sep": ",", "dimension_unit": "cm", "num_decimals": 0, "thousand_sep": " ", "weight_unit": "kg", "states": [] }, { "code": "AT", "name": "Euro", "currency_code": "EUR", "currency_pos": "left_space", "decimal_sep": ",", "dimension_unit": "cm", "num_decimals": 2, "thousand_sep": " ", "weight_unit": "kg", "states": [] },This is a bug or the documentation is wrong?
Thanks!
The page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘Retrieve continent data rest api endpoint response mismatch’ is closed to new replies.