Skip to content

collection/created

Overview

PropertyValue
Webhook typecollection/created
Kafka topiccollection.created
DirectionPlatform → Your endpoint

Description

Fired when a new product collection is created. Collections are named groupings of products used to organize catalog content for storefronts, campaigns, or navigation menus.

Trigger Conditions

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

Body — Property Table

Collection Object

FieldTypeNullableDescription
idstring (uuid)NoUnique collection identifier
organizationIdstring (uuid)NoOrganization that owns this collection
namestringNoInternal unique name (slug-like)
titlestringNoHuman-readable display name
descriptionstringYesOptional description of the collection
createdAtstring (ISO 8601)NoTimestamp when the collection was created
updatedAtstring (ISO 8601)NoTimestamp of the last update

Full JSON Payload Sample

json
{
  "header": {
    "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "messageId": "w4x5y6z7-a8b9-0123-cdef-456789012345",
    "webhookId": "c3d4e5f6-a7b8-9012-cdef-123456789012",
    "type": "collection/created",
    "date": "2024-03-01T09:00:00.000Z"
  },
  "body": {
    "id": "x5y6z7a8-b9c0-1234-defa-567890123456",
    "organizationId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "name": "summer-collection-2024",
    "title": "Summer Collection 2024",
    "description": "Our seasonal summer clothing and accessories range for 2024",
    "createdAt": "2024-03-01T09:00:00.000Z",
    "updatedAt": "2024-03-01T09:00:00.000Z"
  }
}

Notes

  • name is a unique slug within an organization and typically cannot be changed after creation.
  • Collections are logical groupings only — they do not affect stock levels or fulfillment.
  • Product assignment to collections is managed separately via the catalog API.

HappyColis API Documentation