Can we add custom criteria on "Item Search" page?

arvindeveloperarvindeveloper Posts: 8Member
Can we add custom criteria like those fields that came from "Custom Fields" on the "Item Search" page?
Tags:

2 comments

  • gregaricangregarican Posts: 121Member ✭
    If you are talking about pulling custom fields via the LS Retail API, you can always utilize load_relations in your query parameters. Once you include custom fields then those elements will be visible. I'm not sure if you can utilize query restrictions for custom fields like you can by timestamps, product quantities, etc.

    If you are talking about being able to search custom fields in the actual LS Retail web client, that's something that appears on the LS ideas site --> http://ideas.lightspeedretail.com/forums/233165-lightspeed-retail/suggestions/32870857-items-custom-fields-should-be-searchable. I definitely concur, since as it stands the only true value these have is viewing in the product details page. Or pulling via the API. Otherwise they are pretty much invisible and inconsequential.  :/
  • Alex LugoAlex Lugo Posts: 59Administrator, Lightspeed Staff moderator
    Hi @arvindeveloper,

    Custom Fields can't be used as query parameters. As @gregarican mentioned you can have them included in the response by loading the relation "CustomFieldValues"
    Alex Lugo
    API Support Specialist
    Lightspeed HQ
Sign In or Register to comment.