CustomerUpserted
Consumed by this service. Customer created/changed in PVC Connect.
EntityIds: every entity the customer is shared with.
When
A customer was created or changed in PVC Connect.
How it is handled
Stored and synced to the AvaTax company of every entity in entityIds that has PartySync enabled (the NDA gate). Only code, name, address and email are sent.
Routing
Publish to exchange pvc.integrations.customer-upserted; it is bound to this service's queue customer-upserted.
Fields
| Field | Type | Meaning |
|---|---|---|
code | string | Customer code. |
entityIds | IReadOnlyList<string> | Entities the customer is shared with; synced to each one's AvaTax company. |
customer | UpsertPartyRequest | The minimum customer data. |
version | long? | The customer's version in PVC Connect (e.g. a row version or update counter), increasing with every change. When set, a message older than the last one applied is ignored, so redeliveries can't put an outdated customer back. Optional. |