Categories
CMS Mastering Development Wordpress

Get multilingual WooCommerce products in REST API

I am trying to retrieve WooCommerce products by language using the REST API. For products in default language(English) base_url/wc/v3/products/ works fine. Also /wc/v3/products?lang=en works fine. But when I try to get products in another language ex. base_url/wc/v3/products?lang=el I get the following error: { "code": "jwt_auth_bad_iss", "message": "The iss do not match with this server", "data": […]