@gradientedge/commercetools-utils
    Preparing search index...

    Interface MessageSubscription

    Messages will be delivered even if the Messages Query HTTP API is not enabled.

    For MessageSubscriptions, the format of the payload is [MessageDeliveryPayload](ctp:api:type:MessageDeliveryPayload).
    
    interface MessageSubscription {
        resourceTypeId: MessageSubscriptionResourceTypeId;
        types?: string[];
    }
    Index

    Properties

    Unique identifier for the type of resource, for example, order.

    types?: string[]

    Must contain valid message types for the resource. For example, for resource type product the message type ProductPublished is valid. If no types of messages are given, the Subscription will receive all messages for this resource.