timeDone field in Workorder?

annann Posts: 1Member
edited June 27 in Development

In the API docs (https://developers.lightspeedhq.com/retail/endpoints/Workorder/), Workorder is shown to have a field called timeDone, which is the Date/Time that the Workorder is finished. However, when I perform a GET request on against the Workorder endpoint, this element is not loaded on any work orders. How do I get the timeDone field to send in my work orders?

Post edited by ann on
Tags:

3 comments

  • gregaricangregarican Posts: 269Member 

    Yep, same outcome when I tried this API call against a Workorder that shows Done & Paid in the front-end UI.

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

    Hey @Ann thank you for pointing this out! We're having an overhaul of our documentation and this will be something that will be changed!

    An alternative you have is to use the timeStamp field since when a workorder is done and paid for then grab the timestamp for that.

    Adrian Samuel

    API Integrations Consultant - Strategic Solutions

    Lightspeed HQ

Sign In or Register to comment.