business
Get details about a business.
Arguments
List of business detail key-value pairs to filter by.
Kraken-generated, human-readable number for display purposes.
The business ID.
Returns
BusinessTypePossible Errors
Allowed Viewers
Required Permissions
Can query businessesQuery Complexity
1Examples
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
query Business(
$details: [BusinessDetailInput],
$displayableNumber: String,
$id: ID
) {
business(
details: $details,
displayableNumber: $displayableNumber,
id: $id
) {
billingAddress {
...RichAddressTypeFragment
}
businessType
details {
...BusinessDetailTypeFragment
}
displayableNumber
id
legalAddress {
...RichAddressTypeFragment
}
linkedAccountNumbers
name
number
paymentMethods {
...PaymentInstructionConnectionTypeConnectionFragment
}
sectors
segmentName
}
}
Variables
{
"details": BusinessDetailInput,
"displayableNumber": "put-step-machine-song-should",
"id": "59001703"
}
Response
{
"data": {
"business": {
"billingAddress": RichAddressType,
"businessType": "SOLE_TRADER",
"details": [BusinessDetailType],
"displayableNumber": "thousand-civil-support-high-keep",
"id": "25818871",
"legalAddress": RichAddressType,
"linkedAccountNumbers": "90665561",
"name": "certain-far-reach-police-well",
"number": "Mr-act-spring-car-section",
"paymentMethods": PaymentInstructionConnectionTypeConnection,
"sectors": None,
"segmentName": "walk-big-air-it-quickly"
}
}
}