Post

3 followers Follow
1
Avatar

Update SalesInvoiceLine via API?

Looking at the API documentation it appears you can post a new SalesInvoice via the API and read from the API. It doesnt appear that you can amend or update a SalesInvoiceLine via the API. Is this correct? ie update the quantity ordered via the API?

 

If not would a work around be to delete and repost the amended SaleInvoice?

Ben Jackson Answered

Official comment

Avatar

Hi All,

The Sales Order endpoint can be updated however the SalesOrderLines cannot be changed yet. This is something we will look at next year. 

See documentation here.

Thanks,
Matt

Sales/Support
Comment actions Permalink

Please sign in to leave a comment.

6 comments

0
Avatar

Hi Ben,

Thanks for the suggestion. The ability to update Sales Invoices through the API is something we may look into in future however for now once an line is created the only way to update it would be through the interface unfortunately.

Thanks,

Matt

Matt 0 votes
Comment actions Permalink
0
Avatar

Thanks Matt. So would the work around be to delete the order and repost it? Possibly a sledgehammer for a peanut but just asking.

Ben Jackson 0 votes
Comment actions Permalink
0
Avatar

This is one of my biggest contentions with Unleashed at the moment..

Josh 0 votes
Comment actions Permalink
0
Avatar

I see you support updating of orders using the PUT verb. However, the original poster wanted to update the SalesOrderLine which is still not possible as far as I can see. When do you plan to support this?

Thanks

Darren 0 votes
Comment actions Permalink
0
Avatar

Hi Darren,

Sorry, you're right - the last response is a bit incorrect and I will update it now.

Updating of SalesOrderLines will most likely be worked on early to mid next year but we don't have a release date. Would be great to hear a few examples of how you want to interact with the SalesOrderLines as well. 

Thanks for following up.

Sales/Support 0 votes
Comment actions Permalink