v1

latestOpenAPI 3.0.12026-07-26381328555.2 KB
B2BAccount

Enable or disable role inheritance for future child accounts.

This setting only affects future account creation and does not modify existing child accounts. The inheritance applies to all levels of the hierarchy (children, grandchildren, etc.). When enabled, the system will automatically assign this role to all future child accounts and grandchildren created under the specified account in the hierarchy.

put/commerce/customer/b2baccounts/roles/{roleId}/accounts/{accountId}/apply-to-future-children/{enabled}

Path parameters

roleIdinteger required

Role ID

accountIdinteger required

Account ID

enabledboolean required

True to apply role to future children, false to disable

Query parameters

responseFieldsstring

limits which fields are returned in the response body

Response

OK