A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Hello I am trying to get standardized product type in another language, the data is only in english.
This is the code:
query = """
query GetProductsById($id: ID!) {
product(id: $id) {
standardizedProductType {
productTaxonomyNode {
name
}
}
}
}
"""
This is the output:
{'data': {'product': {'standardizedProductType': {'productTaxonomyNode': {'name': 'Lighters & Matches'}}}}, 'extensions': {'cost': {'requestedQueryCost': 3, 'actualQueryCost': 3, 'throttleStatus': {'maximumAvailable': 1000.0, 'currentlyAvailable': 997, 'restoreRate': 50.0}}}}
As you can see the data returned is in english, for example look at productTaxonomyNode and name.
How to get it in another language, for example in italian?
Ciao Antonio,
did you found a solution?