Skip to content

Commit 51a5137

Browse files
authored
DEVDOCS-6711 - Webhook scopes for Company-Super Admin assignments
Added new scopes to the Companies and Super Admins event tables.
1 parent de88f72 commit 51a5137

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/integrations/webhooks/events/b2b-edition.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ The following webhooks fire in response to changes to Company account records. Y
5252
| store/company/updated | Fires when a Company’s basic information is updated, including: <br />- Company name <br />- Email address <br />- Phone number <br />- Assigned customer group ID (Must be using [Independent Companies](https://support.bigcommerce.com/s/article/Companies-and-Customer-Groups) behavior) <br />- Legal address <br />- UUID <br />- Activity status<br />- Parent Company (Must be using [Account Hierarchy](https://support.bigcommerce.com/s/article/B2B-Edition-Account-Hierarchy)) <br />- Assigned price list (Must be using Dependent Companies behavior) <br />- Company extra field values |
5353
| store/company/deleted | Fires when a Company account is deleted from the B2B Edition control panel or via the API. |
5454
| store/company/statusUpdated | Fires when a Company's activity status changes, such as when a pending Company account is approved. |
55+
| store/company/superadmin/assignmentUpdated | Fires when Super Admins are assigned to or unassigned from a Company account record. |
5556

5657
```json filename="Example Company created payload object" showLineNumbers copy
5758
{
@@ -123,6 +124,7 @@ The following webhooks fire in response to changes to [Super Admins](https://dev
123124
| store/superadmin/created | Fires when a new Super Admin is created the B2B Edition control panel or via the API. |
124125
| store/superadmin/updated | Fires when a Super Admin's account information is updated, including: <br />- Email address <br />- Name <br />- Phone number <br />- Assigned/Unassigned Company accounts |
125126
| store/superadmin/deleted | Fires when a Super Admin is deleted from the B2B Edition control panel or via the API. |
127+
| store/superadmin/assignmentUpdated | Fires when Company accounts are assigned to or unassigned from a Super Admin record. |
126128

127129
```json filename="Example Company address created payload object" showLineNumbers copy
128130
{

0 commit comments

Comments
 (0)