---
title: Supplier updated message
slug: supplier-updated-message
abstract: Custom payload definition for the supplier updated entity sync delivery configuration message.
content_type: reference
audience: \[developer, architect]
---

# Supplier updated message

Custom payload definition of the following [Delivery Configuration](https://doc.sitecore.com/ordercloud/en/developers/platform/delivery-configuration.html) message namespaces:

- sitecore.ordercloud.messages.entitysync.supplier.updated


## Models

### SupplierChanged

| Name | Type | Description |
| --- | --- | --- |
| UserContext | [UserContext](https://doc.sitecore.com/ordercloud/en/developers/platform/reference/delivery-config/user-context.html) | The user context. |
| ID | string | Identifier of the User. |
| Name | string | The name of the supplier. |
| Active | bool | Indicates of the supplier is active in the system. |
| DateCreated | DateTimeOffset | Date and time (UTC) the supplier was created. |
| AllBuyersCanOrder | bool | Indicates if all buyers can purchase from this supplier. |
| xp | dynamic | Dynamic properties assigned to the supplier. |

## Delivery Target Behaviors:

### Search Ingestion

The search ingestion delivery target will flatten the 'xp' properties (up to arrays) into individual properties that can be consumed by Discover 2.0.

Copy To Clipboard

```json
1{
2  "xp": {
3    "myCustomStringProperty": "Property Value",
4    "myCustomArrayProperty": [10, 20, 30]
5  }
6}
```

The above will generate the following properties in the payload to Discover 2,0.

Copy To Clipboard

```json
1{
2  "xp_mycustomstringproperty": "Property Value",
3  "xp_mycustomarrayproperty": [10, 20, 30]
4}
```