Retail API Issues

in Development
Hello,
We are currently facing issue for convert sales to work order or special order
using Retail API. i.e POST /API/Account/{accountID}/Sale.json
by using this API we are creating sales in which iteams order also
been placed but failed to convert this sales into Special Order or Work order
using Retail API.
We are also facing to get customer info such as Adresss,Email,Phones, Websites
into Customer API. i.e GET /API/Account/{accountID}/Customer.json
for current GET Customer API we not have an Responce for these fields.
Also we want to write our custom script using an webhook for create / update
into Sales in Lightspeed Retail API. but we not get any webhook facility
there. please help us out.
2 comments
Hi @Mayur,
Thank you for reaching out to us.
About your first question, unfortunately it's not possible to create a word order or special order. You can only flag a saleLine that indicates that the saleline is part of a work order of special order.
For you second question you can use the following payload:
Webhooks are only used in our eCom product and not available for Retail.
I hope this help.
@Mayur till no update / create options for work orders after years or requests. See this post: https://community.lightspeedhq.com/en/discussion/358/create-a-new-workorder#Item_45