I’m trying to get products with grapqhl api using the attribute: new_from_date
but I’m enable to do so.
query {
products(
filter: {
new_from_date: { eq: "2024-03-01 00:00:00" }
}
) {
items {
id
name
sku
new_from_date
price {
regularPrice {
amount {
value
currency
}
}
}
}
}
}
I get the response:
{
"errors": [
{
"message": "Field "new_from_date" is not defined by type "ProductAttributeFilterInput".",
"locations": [
{
"line": 4,
"column": 9
}
]
}
]
}
This attr has Use in Search = yes, Visible on Catalog Pages on Storefront = yes, Used for Sorting in Product Listing = yes I’ve enable every single one of them but so far no luck. Anyone know if this is possible at all?