Forum Discussion

thecoolcoder's avatar
thecoolcoder
Cover User
6 years ago

Get new or recent invoices from API

How can you identify if there is a new quote, order, invoice or closed invoice in the AccountRight v2 API? I see that Customer has a last modified date, is that the indicator?
  • Jacob_S's avatar
    Jacob_S
    Former Staff

    Hi thecoolcoder,

     

    Thanks for reaching out. In order to identify new sales via the API, you would need to manually compare your most recent GET request to the data that you have stored and update the data accordingly. 

     

    If you have any further questions, feel free to reach out to the API Team directly at developers@myob.com.

     

    Thanks,
    Jacob
    MYOB API Team

    Are you a developer? Check out http://developer.myob.com
    Looking for an Add-on? Check out http://myob.com/addons/
    MYOB API Support Centre - https://apisupport.myob.com