Home > @vsf-enterprise/commercetools-types > State
# State type
[State](https://docs.commercetools.com/api/projects/states)
Signature:
export declare type State = Versioned & {
__typename?: 'State';
id: Scalars['String'];
version: Scalars['Long'];
key?: Maybe<Scalars['String']>;
type: StateType;
roles: Array<StateRole>;
name?: Maybe<Scalars['String']>;
nameAllLocales?: Maybe<Array<LocalizedString>>;
description?: Maybe<Scalars['String']>;
descriptionAllLocales?: Maybe<Array<LocalizedString>>;
builtIn: Scalars['Boolean'];
transitionsRef?: Maybe<Array<Reference>>;
transitions?: Maybe<Array<State>>;
initial: Scalars['Boolean'];
createdAt: Scalars['DateTime'];
lastModifiedAt: Scalars['DateTime'];
createdBy?: Maybe<Initiator>;
lastModifiedBy?: Maybe<Initiator>;
};
References: Versioned, Scalars, Maybe, StateType, StateRole, LocalizedString, Reference, State, Initiator