You are reading the documentation for SDK v2, which is no longer the latest version. Switch to current
SetProductAssetKey
export type SetProductAssetKey = {
variantId?: InputMaybe<Scalars['Int']>;
sku?: InputMaybe<Scalars['String']>;
staged?: InputMaybe<Scalars['Boolean']>;
assetKey?: InputMaybe<Scalars['String']>;
assetId: Scalars['String'];
};