Skip to main content

VendorUpserted

Consumed by this service. Vendor created/changed in PVC Connect. EntityIds: every entity the vendor is shared with.

When​

A vendor was created or changed in PVC Connect.

How it is handled​

As CustomerUpserted: stored, then synced to each sharing entity with PartySync enabled. Vendor records are needed before resale certificates can be attached in Avalara.

Routing​

Publish to exchange pvc.integrations.vendor-upserted; it is bound to this service's queue vendor-upserted.

Fields​

FieldTypeMeaning
codestringVendor code.
entityIdsIReadOnlyList<string>Entities the vendor is shared with; synced to each one's AvaTax company.
vendorUpsertPartyRequestThe minimum vendor data.
versionlong?The vendor'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 vendor back. Optional.