Skip to content

vendor/updated

Overview

PropertyValue
Webhook typevendor/updated
Kafka topicvendor.updated
DirectionPlatform → Your endpoint

Description

Fired when a vendor's details are updated. Currently the only mutable field on a vendor is name.

Trigger Conditions

  • A user or integration updates the vendor name via the HappyColis API

Message Envelope

json
{
  "header": {
    "organizationId": "org_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "messageId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "webhookId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "type": "vendor/updated",
    "date": "2024-06-20T16:00:00.000Z"
  },
  "body": { ... }
}

Body — Property Table

Vendor Object

FieldTypeNullableDescription
idstring (uuid)NoUnique vendor identifier
organizationIdstring (uuid)NoOrganization that owns this vendor
namestringNoUpdated vendor name
createdAtstring (ISO 8601)NoOriginal creation timestamp
updatedAtstring (ISO 8601)NoTimestamp of this update

Full JSON Payload Sample

json
{
  "header": {
    "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "messageId": "e2f3a4b5-c6d7-8901-efab-234567890123",
    "webhookId": "c3d4e5f6-a7b8-9012-cdef-123456789012",
    "type": "vendor/updated",
    "date": "2024-06-20T16:00:00.000Z"
  },
  "body": {
    "id": "d1e2f3a4-b5c6-7890-defa-123456789012",
    "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "name": "Nike — Official",
    "createdAt": "2024-01-15T10:00:00.000Z",
    "updatedAt": "2024-06-20T16:00:00.000Z"
  }
}

Notes

  • A vendor name change propagates the new name to all products associated with this vendor in your integration.
  • id and organizationId never change — use id as the stable reference, not name.

HappyColis API Documentation