Hello All,
I am interested in obtaining a list from customers who have opted out of data sales, I can see the flag in GraphQL and the wizard wrote the following
query GetCustomersOptedOutOfDataSales {
customers(first: 10, query: "data_sale_opt_out:true") {
edges {
node {
id
firstName
lastName
email
dataSaleOptOut
}
}
pageInfo {
hasNextPage
endCursor
}
}
}
However if you execute this within shopfy using the Shopify Graph QL app you get told..
"search": [
{
"path": [
"customers"
],
"query": "data_sale_opt_out:true",
"parsed": {
"field": "data_sale_opt_out",
"match_all": "true"
},
"warnings": [
{
"field": "data_sale_opt_out",
"message": "Invalid search field for this query."
}
I have tried variations datasaleoptout including dataSaleOptOut?
So does this mean, you can’t query it?
Thanks
Lucy
