ID of currently selected business

golabekpgolabekp Member Posts: 14

Hi

I would like to obtain the ID of the currently selected business for the purpose of passing into other queries. I have tried just a simple query however it does not work.

query {
business{
id
name
}
}

Thanks

edited July 11, 2020 in Technical Support

Comments

  • BarsinBarsin Member, Moderator Posts: 2,041 ✭✭✭

    Hey there @golabekp

    I assume you might be asking about the business ID as it is seen on Wave's side. If you head to your accounting > transactions page in google chrome browser, you should see your business ID as the long string of code in your URL. It will consist of letters and numbers and dashes. Hope this helps.

  • golabekpgolabekp Member Posts: 14

    Hey @BarsinA

    I am referring to the API, when the application is authorised, and the business is selected.

Sign In or Register to comment.