Hello everyone.
I have been trying to fetch price rules with the GraphQL API and am having an issue.
Say I’m having this in my GraphQL call:
{
priceRules(first: 10) {
edges {
cursor
node {
id
title
summary
startsAt
endsAt
discountCodesCount
}
}
pageInfo {
hasPreviousPage
hasNextPage
}
}
}
There seems to be no problem with this call, all price rules are fetched correctly, except for the price rules for any Buy X Get Y discounts having the minimum purchase amount setting!
I have searched everywhere in the forum and people said the GraphQL works, but actually it doesn’t.
Anyone else having the same issue?