Typescript SDK Type Docs
    Preparing search index...

    Interface DateTimeSetAttribute

    This type represents an attribute whose value is a set of dates with time.

    interface DateTimeSetAttribute {
        name?: string;
        type: "datetime-set";
        value: string[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    name?: string

    Required if used for ProductVariantImport. Must not be set if used for ProductVariantPatch.

    Must match `name` of an [AttributeDefinition](ctp:api:type:AttributeDefinition) of the Product Type.
    
    type: "datetime-set"

    Must match type of an AttributeDefinition of the Product Type. The type is required if this type is used in a product variant and must not be set when used in a product variant patch.

    value: string[]

    A set of dates with time in the format YYYY-MM-DDTHH:mm:ss.SSSZ. The time zone is optional and defaults to UTC if not specified. If the time zone is specified, it must be in the format ±HH:mm or Z for UTC.