Create a new Workorder

matbar20matbar20 Posts: 3Member
Is it possible to create a new workorder through the Lightspeed Retail API?
Tags:

12 comments

  • jamesratcliffejamesratcliffe moderator Posts: 160Administrator, Lightspeed Staff moderator
    The API only gives read access to work orders for now. We'd like to add this in the future, but there's no specific timeline at the moment.
    James Ratcliffe
    Lightspeed HQ
  • joshuaphamjoshuapham Posts: 2Member
    edited March 2018
    @jamesratcliffe what about work order lines? I'd like to be able to add a WorkOrderLine (I believe this is the correct abstraction) to a work order using the API. Is there any way to do this, or any alternative that you'd recommend?

    I was taking a look at the docs for Sale, and it doesn't look like there is a way to add a SaleLine to a Sale either?
  • jamesratcliffejamesratcliffe moderator Posts: 160Administrator, Lightspeed Staff moderator
    No, you can't do anything to create or modify a work order.

    You can add a SaleLine to a Sale with the Sale.SaleLine endpoint:
    http://developers.lightspeedhq.com/retail/endpoints/Sale-SaleLine/

    You can also update the Sale with the SaleLine(s) nested in the payload.
    James Ratcliffe
    Lightspeed HQ
  • joshuaphamjoshuapham Posts: 2Member
    @jamesratcliffe Interesting, thank you!

    In the access scopes page there is a scope for employee:workbench that describes an ability to "View, create, update, and archive work orders." I found this misleading, but maybe this refers to something else?
  • jamesratcliffejamesratcliffe moderator Posts: 160Administrator, Lightspeed Staff moderator
    Yes, that is a bit confusing, but the scope technically does grant write access. Right now that access is useless because there's no endpoint that lets you create, update or archive work orders, but when they're added, tokens with this scope will already be able to use those endpoints.
    James Ratcliffe
    Lightspeed HQ
  • andyandy Posts: 12Member
    @jamesratcliffe What will it take to get this functionality added?
  • jamesratcliffejamesratcliffe moderator Posts: 160Administrator, Lightspeed Staff moderator
    @andy We want to add this at some point, but Development has other priorities right now, and there's no specific plan for work orders.

    If there are enough requests for a specific feature, the Product team may re-consider and re-prioritize to make room for that feature on the roadmap.
    James Ratcliffe
    Lightspeed HQ
  • mVaniermVanier Posts: 2Member
    edited February 1
    @jamesratcliffe
    Hi guys, any news on this feature? It almost been a year since the last update.

    We too would need those end-points for one of our projects. Any estimate on when we could expect to see those coming out?
  • Adrian SamuelAdrian Samuel moderator Posts: 545Moderator, Lightspeed Staff moderator
    @mVanier, none yet. Product managers are aware, there has been conversation on it, however any such updates would stand behind our major updates to our costing and inventory modules which we've publicly spoken about. Since workorders reserve inventory internally, all these things have to be factored into a logical development flow. 

    Adrian Samuel

    API Integrations Consultant - Strategic Solutions

    Lightspeed HQ

  • mVaniermVanier Posts: 2Member
    Thank you for your answer @Adrian Samuel

    To your knowledge, is there another way to import workorders in bulk (ex. csv file, xml, etc.)? Or is the only way to create workorders is through the user interface?
  • Alex LugoAlex Lugo moderator Posts: 147Administrator, Lightspeed Staff moderator
    edited February 4
    Hello @Mvanier,

    It is not possible to import workorders. You will have to create them using the UI.
    Alex Lugo
    API Support Specialist
    Lightspeed HQ
  • ps1985ps1985 Posts: 1Member

    @Alex Lugo

    Thanks for the information on work order creation via API. I see that Booxi is able to create WOs via their integration:

    http://help.booxi.com/english/integration-setup/how-to-integrate-lightspeed-retail-with-booxi

    Can you share more on how that is done?

Sign In or Register to comment.