Question:
How to filter the Product based on createdDate and updatedDate field?
Product:
Wix store-Products
What are you trying to achieve:
i need to filter the products based on createdDate and updatedDate field. But i am getting error.
What have you already tried:
data = {
“query”: {
“paging”: {“limit”: 100, “offset”: 0},
“filter”: {
“createdDate”: {“$gte”: “2024-03-06T00:00:00.000Z”},
“lastUpdated”: {“$gte”: “2024-03-07T00:00:00.000Z”}
}
},
“includeVariants”: False,
“includeHiddenProducts”: False,
“includeMerchantSpecificData”: False
}
endpoint = “https://www.wixapis.com/stores/v1/products/query”
Additional information:
response: {‘message’: ‘Unexpected value for StringValue’, ‘details’: {}}