The QuickBooks Payroll API provides the payrollEmployerInfo
resource for viewing information about the employer.
The information below describes how to use the resource to view employer information.
For more information, see payrollEmployerInfo in the GraphQL API Reference.
Request
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | query RequestEmployerInfo { payrollEmployerInfo { businessInfo { displayName name { legalName } contactInfo { addresses { streetAddressLine1 city state postalCode variation { usage purpose ordinal } } } } } } |
Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | { "data": { "payrollEmployerInfo": { "businessInfo": { "displayName": "My Company Name", "name": { "legalName": "My Company Legal Name" }, "contactInfo": { "addresses": [ { "streetAddressLine1": "2700 Coast Ave", "city": "Mountain View", "state": "CA", "postalCode": "94043", "variation": { "usage": "BUSINESS", "purpose": "OTHER", "ordinal": "PRIMARY" } }, { "streetAddressLine1": "1000 Coast Ave", "city": "Mountain View", "state": "CA", "postalCode": "94043", "variation": { "usage": "OTHER", "purpose": "LEGAL", "ordinal": "SECONDARY" } } ] } } } } } |