v1
latestOpenAPI 3.0.12026-07-26381328555.2 KBB2BAccount
Get B2B Account Hierarchy
Retrieves the account hierarchy for a B2B account specified by its unique identifier.
get/commerce/customer/b2baccounts/{accountId}/hierarchy
Path parameters
accountIdinteger required
Unique identifier of the B2B account whose account hierarchy you want to retrieve. This can be any account belonging to the same hierarchy.
Query parameters
responseGroupsstring
Used to refine the default information returned from a request. To reduce amount of customer account information returned, use the valid response groups: Contacts, CustomerAccountNotes, and OrderSummary. Optional.
responseFieldsstring
limits which fields are returned in the response body
Response
OK