The packaging preferences configuration webhook sends you a message when a restaurant updates its packaging preferences in Toast Web. The message payload includes:
- 
                              The GUID of the restaurant changing its packaging preferences. 
- 
                              The time stamp of the change. 
- 
                              Details of what was changed. 
For information on how a restaurant can configure packaging preferences, see this Toast Central article.
When a restaurant sets their packaging preferences, and you receive
                          the packaging_updated webhook message with the updates, you can
                          submit orders using the orders
                             API with packaging preferences.
                     
Packaging preferences configuration webhook messages follow the standard message
                             data schema. When a message is published to your webhook endpoint
                          for the packaging event category, the
                          eventCategory value is set to partner and the
                          eventType is set to packaging_updated.
                     
A restaurant using your integration has updated its packaging preferences configuration in Toast Web.
The packaging preferences configuration webhook
                               eventType is packaging_updated. The webhook
                               payload is similar to the packaging preferences response data from the
                               packagingConfig
                                  endpoint.
                        
Attributes in the packaging_updated event's payload
                               include:
                        
| Value | Description | 
|---|---|
| 
 | The parent object that holds the following information about the specific packaging preference configurations. data type: string | 
| 
 | Indicates whether the restaurant is currently using
                                                      packaging preferences in this object. If  data type: string | 
| 
 | The list of available packaging items. The
                                                       
 data type: string | 
| 
 | An optional message configured by the restaurant that you show to guests on your ordering interface. data type: string | 
Payload example for the menus_updated event
{
 "timestamp": "2024-12-10T17:47:36.044Z",
 "eventCategory": "packaging",
 "eventType": "packaging_updated",
 "guid": "ae839da8-a506-498e-afb8-ff7d7dbd7231",
 "details": {
   "packagingConfig": {
     "enabled": true,
     "items": [
       {
         "id": "ccdbcbf8-5c5b-4158-ae61-3a6da8bc847d",
         "itemTypes": [
           "CONDIMENTS",
         ],
         "guestDisplayName": "Ketchup and mustard",
         "guestInclusionType": "OPT_IN",
         "guestDescription": "Includes ketchup and mustard only."
       }
     ],
     "guestMessage": "Choose your packaging preferences to complete your order. "
   }
 }
}