I’ve been using the following graphql query to retrieve Bxgy discounts, but it’s returning nothing even though I have a bunch of Bxgy discounts retrievable by query:“status:active”
Is this syntax correct to query by discount type? Is there any other key other than DiscountCodeBxgy for the Bxgy discount type?
{
codeDiscountNodes (first: 2 query:"discount_type:DiscountCodeBxgy") {
pageInfo {
hasNextPage
}
edges {
cursor
node {
id
codeDiscount {
__typename
... on DiscountCodeBxgy {
createdAt
endsAt
startsAt
status
summary
title
}
}
}
}
}
}