A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Hi i am not able to update smartcollection rule through the API. When i invloke /admin/api/2023-01/smart_collections/482865238.json i am getting response as 200 and my new rule is added in the response and updated at time also changed and if i go and view the collection through admin panel my new rule is not listed there. So i try to fetch the collection by get method, then i am not getting my updated collection i am getting my old collection only. Can you resolve my issue?
Silly question but what does your PUT look like?
{
"smart_collection":{
"id": 482865238,
"rules":[
{
"column" : "title",
"relation" : "starts_with",
"condition" : "iPod"
}
]
}
}
Cheers,
Gary
Hi gary,
I tried the same way and getting the response as OK, if i fetch that smart collection using GET Method I'm not getting the updated collection, instead i am getting the old collection only.