timeDone field in Workorder?

annann Member Posts: 1
edited June 2019 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


  • gregaricangregarican Member Posts: 926 

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

  • Adrian SamuelAdrian Samuel Moderator, Lightspeed Staff Posts: 654 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

    Software Developer

    Lightspeed HQ

  • dougfastfixdougfastfix Member Posts: 22 ✭

    From the API documentation it appears there are three date fields on Work Orders.

    timeIn, etaOut, timeDone

    timeDone is tied to “Done and Paid” status.

    Ideally there should be both a timeStarted and a timeFinished fields/APIs. (Or better yet a field/API that records times for workorderStatus changes).

    So when a job hits the bench and when it is marked Finished is properly recorded. This would help measuring bench productivity. With POST/PUT support with LS Work Orders we could even use a tool like Toggl at the bench.


    LS Support Team. Please encourage the Product and Development teams to benchmark RepairShopr.


  • sbgdgnmsbgdgnm Member Posts: 5

    Still no Edit work order for API either after years of requests from others.

Sign In or Register to comment.