A Store could contain multiple Price Books assigned to different delivery partners. A Price Book can be created, updated (in multiple ways) or deleted.
The Store will be able to activate webhook notifications for all its Price Books and by that way let Subscribers know when an event has occurred.
The consumer will only receive a notification about an operation that impacted subscribed Price Book(s) through a HTTP-POST call made against a specified endpoint.
From there, the consumer can query with the available APIs the updated Price Book.
In order to activate webhook notifications the Store can do it through the Back Office Web Application.
Events
There are 3 types of events are being used on the Webhook: Create a price book or a component (PRICEBOOK_CREATED), update a price book or a component (PRICEBOOK_UPDATED) and delete a price book or a component (PRICEBOOK_DELETED).
POST Body Format
{
"storeId": number,
"priceBookId": number,
"operationType": "PRICEBOOK_CREATED"|"PRICEBOOK_UPDATED"|"PRICEBOOK_DELETED"
}