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

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


  • gregaricangregarican Member Posts: 433 
    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 --> 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 Administrator, Lightspeed Staff Posts: 188 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.