How to get item by SKU

mikesitmikesit Member Posts: 18
edited May 2019 in Development

Hi all,

How does one use the API to get a single item by querying the customSku?

We actually need to update pricing on items but is seems the only way to do that is use the itemId which we don't have. All we have is the customSku.

rock

Best Answer

Answers

  • mikesitmikesit Member Posts: 18

    Hey Adrian,

    Thank you very much. I thought I looked everywherein the API docs but I could not find an example of that syntax. Is it documented somewhere?

    Rock

  • Adrian SamuelAdrian Samuel Moderator, Lightspeed Staff Posts: 608 moderator

    Hey @mikesit ,

    I don't think we have specific examples of querying endpoints like that, though it's something we are interested in adding to the documentation.

    It's quite an explorative process but you can do a lot of complex queries with them. We do however have the operators documented that can be used for things such as this:


    You might find by searching other forum posts, other such useful queries

    Adrian Samuel

    Integrations & Solutions Developer - Strategic Solutions

    Lightspeed HQ

Sign In or Register to comment.