Is it possible to filter in GraphQL Orders by their localizationExtensions attribute values? I’d like to filter for orders whose localizationExtensions key is of a specific value, such as TAX_CREDENTIAL_BR, SHIPPING_CREDENTIAL_BR, SHIPPING_CREDENTIAL_CN, etc, rather then pull all orders for just the few orders with localizationExtensions with TAX_CREDENTIAL values.
something along the lines of
{
orders(first: 249, reverse: true, query:"key:TAX_CREDENTIAL_BR") {
edges {
node {
id
name
localizationExtensions(first: 1) {
edges {
node {
key
countryCode
purpose
title
value
}
}
}
}
}
}
}
If it helps anyone else, the best I can come up with (barring filters per above) is to query the latest 249 orders and then check for orders that have a filled in localizationExtensions key with a Personal Customs Clearance Code (PCCC).
{
orders(first: 249, reverse: true) {
edges {
node {
name
localizationExtensions(first: 1) {
edges {
node {
key
}
}
}
}
}
}
}
Thanks,
Dan
https:///www.thegamesteward.com