Question

Retrieve all looks that have been updated in the past day

  • 23 August 2018
  • 3 replies
  • 47 views

Hi - is there a way I can retrieve all looks that have been updated in the past day(or any past timeframe)? Looking to filter on the ‘updated_at’ field on the /api/3.0/looks/{look_id} endpoint.



If not, is there a way to sort the results by this field?


3 replies

Userlevel 1

Hey @MozzarellaMario,



You are absolutely on the right track. We could use the all_looks endpoint to get all Looks and return the updated_at information. Then, in a script, have some sort of condition that returns the Looks that fall under the timeframe you are looking for. We could reference the updated_at field to define that condition.



Filtering can be done in the search_looks endpoint but only for the parameters listed in our docs; however, the option to filter by updated_at is currently unavailable. I will be sure to relay this feedback to the product team on my end.



Best,



Leticia

Thanks @leticia.esparza. It would be nice to have the option to filter by updated_at. Have a nice day!

Userlevel 1

Happy to help @MozzarellaMario! I funneled the feedback to the product team. Have a wonderful rest of your day!



Cheers,



Leticia

Reply