Skip to content

vendor/created

Overview

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

Description

Fired when a new vendor is created. A vendor represents a brand or supplier identity that can be associated with products in the catalog. Vendors are used for filtering, reporting, and multi-brand catalog management.

Trigger Conditions

  • A user or integration creates a new vendor 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/created",
    "date": "2024-01-15T10:00:00.000Z"
  },
  "body": { ... }
}

Body — Property Table

Vendor Object

FieldTypeNullableDescription
idstring (uuid)NoUnique vendor identifier
organizationIdstring (uuid)NoOrganization that owns this vendor
namestringNoVendor name (unique per organization)
createdAtstring (ISO 8601)NoTimestamp when the vendor was created
updatedAtstring (ISO 8601)NoTimestamp of the last update

Full JSON Payload Sample

json
{
  "header": {
    "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "messageId": "c0d1e2f3-a4b5-6789-cdef-012345678901",
    "webhookId": "c3d4e5f6-a7b8-9012-cdef-123456789012",
    "type": "vendor/created",
    "date": "2024-01-15T10:00:00.000Z"
  },
  "body": {
    "id": "d1e2f3a4-b5c6-7890-defa-123456789012",
    "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "name": "Nike",
    "createdAt": "2024-01-15T10:00:00.000Z",
    "updatedAt": "2024-01-15T10:00:00.000Z"
  }
}

Notes

  • name must be unique within an organization.
  • Vendors are referenced by products via the vendorId field on the product entity.
  • Deleting a vendor is not supported; vendors associated with products remain active indefinitely.

HappyColis API Documentation