It was working few hours ago, then starting around 30 minutes ago, the query returned empty array, even though it should have returned something.
Here is the Admin API query :
automaticDiscountNodes(first: 5, query: "type:percentage OR type:fixed_amount")
, it was supposed to return automatic discount node that are percentage type or fixed_amount type, then suddenly it returned nothing, even though the store has running active automatic discounts.
Please look into this.
Replication steps:
- Create automatic discount in your Shopify Admin, and select Product or Order type, and set percentage or fixed amount
- Run this graphql query
query {
automaticDiscountNodes(first: 5, query: "type:percentage OR type:fixed_amount") {
edges {
node {
id
}
}
- And see no result returned, but it was supposed to return the discount created in step 1