Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 26 additions & 1 deletion docs/integrations/webhooks/events/b2b-edition.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: B2B Edition Webhooks
keywords: webhooks, b2b, b2b edition, company, super admin, address, company user,
keywords: webhooks, b2b, b2b edition, company, super admin, address, company user, quotes,
---

# B2B Edition Webhooks
Expand Down Expand Up @@ -137,6 +137,31 @@ The following webhooks fire in response to changes to [Super Admins](https://dev
}
```

## Quotes

The following webhooks fire in response to changes to sales quotes. You can use them to track new quote requests across your storefront channels, updates made by sales representatives, or changes in a quote's activity status.

| Name / Scope | Description |
|:------------------------|:------------|
| store/quote/created | Fires when a new sales quote is submitted from the Buyer Portal, or created in the B2B Edition control panel or via the Server to Server API. This webhook will not fire when a buyer creates a [draft quote](/b2b-edition/apis/rest-storefront/request-for-quote/quotes#draft-quotes) from the Buyer Portal. |
| store/quote/updated | Fires when a quote’s basic information is updated, including: <br />- Addresses <br />- Line items <br />- Discounts <br />- Shipping and tax rates <br />- Status <br />- Attached files <br />Note that the webhook will not fire when an in-quote message or a quote email is sent. |
| store/quote/statusUpdated | Fires when the buyer or merchant-facing quote status is updated, such as when a sales representative submits the quote back to the buyer. |
| store/quote/deleted | Fires when the [Delete a Quote](/b2b-edition/apis/rest-management/quote/quotes#delete-a-quote) endpoint is used. Quotes cannot be deleted in the B2B Edition control panel or the Buyer Portal. |

```json filename="Example quote created payload object" showLineNumbers copy
{
"scope": "store/quote/created",
"store_id": "123456",
"data": {
"quote_id": 1234,
"quote_uuid": "1a2b3c4d"
},
"hash": "352e4afc6dd3fc85ea26bfdf3f91852604d57528",
"created_at": 1561482670,
"producer": "stores/{store_hash}"
}
```

## Resources

### Related Articles
Expand Down
Loading