Home > @vsf-enterprise/commercetools-types > Versioned

# Versioned type

Versioned object have an ID and version and modification. Every update of this object changes it's version.

Signature:

export declare type Versioned = {
    id: Scalars['String'];
    version: Scalars['Long'];
    createdAt: Scalars['DateTime'];
    lastModifiedAt: Scalars['DateTime'];
    createdBy?: Maybe<Initiator>;
    lastModifiedBy?: Maybe<Initiator>;
};

References: Scalars, Maybe, Initiator