Business Id Parameter

SteveFry_2022SteveFry_2022 Member Posts: 1

Hi, I'm trying to query Wave for a list of invoices, however one of the variables is for the business Id, which I am not being able to find.
I have tried the client Id in the manage applications area, however it seems it is not the data needed.
Please assist.

Comments

  • dacklanddackland Member, Administrator, Moderator Posts: 25 admin

    Hi @SteveFry_2022 ,

    You can view the list of businesses associated with your user by querying the businesses field, like this:

    {
      businesses{
        edges{
          node{
            id
            name
          }
        }
      }
    }
    

    You can also retrieve the default business for the user with this query:

    {
      business{
        id
        name
      }
    }
    
Sign In or Register to comment.