Getting Sale Description from API

Hello,

I'm Looking at the SaleLines page on the website and I'm curious how to us the api endpoint to get what is in the description column. I can get SaleNotes, but it doesn't return the same information.


1 comment

  • LucienVersendaalLucienVersendaal Moderator, Lightspeed Staff Posts: 865 moderator

    Hi @alanzano,

    Thank you for reaching out to us.

    You can get this field by using the following endpoints.

    //Get all relations
    /Sale/814/SaleLine?load_relations=all
    
    //Get only the note relation
    /Sale/814/SaleLine?load_relations=["Note"]
    

    I hope this helps.

Sign In or Register to comment.