Generated after a successful Create Product Tailoring or Create Product Tailoring in Store request.

interface ProductTailoringCreatedMessage {
    createdAt: string;
    createdBy?: CreatedBy;
    description?: LocalizedString;
    id: string;
    key?: string;
    lastModifiedAt: string;
    lastModifiedBy?: LastModifiedBy;
    name?: LocalizedString;
    product: ProductReference;
    productKey?: string;
    published: boolean;
    resource: Reference;
    resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
    resourceVersion: number;
    sequenceNumber: number;
    slug?: LocalizedString;
    store: StoreKeyReference;
    type: "ProductTailoringCreated";
    version: number;
}

Properties

createdAt: string

Date and time (UTC) the Message was generated.

createdBy?: CreatedBy

IDs and references that created the Message.

description?: LocalizedString

The description of the Product Tailoring at the time of creation.

id: string

Unique identifier of the Message. Can be used to track which Messages have been processed.

key?: string

User-defined unique identifier of the Product Tailoring.

lastModifiedAt: string

Value of createdAt.

lastModifiedBy?: LastModifiedBy

IDs and references that last modified the Message.

The name of the Product Tailoring at the time of creation.

Reference to the Product the Product Tailoring belongs to.

productKey?: string

User-defined unique identifier of the Product this Product Tailoring belongs to.

published: boolean

true if the ProductTailoring is published.

resource: Reference

Reference to the resource on which the change or action was performed.

resourceUserProvidedIdentifiers?: UserProvidedIdentifiers

User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

resourceVersion: number

Version of the resource on which the change or action was performed.

sequenceNumber: number

Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

The slug of the Product Tailoring at the time of creation.

The Store to which the Product Tailoring belongs.

type: "ProductTailoringCreated"
version: number

Version of a resource. In case of Messages, this is always 1.