BetaOptionalbundleId?: "drafts" | string & {}Source bundle: 'drafts', or a release id.
Defaults to the published bundle.
ID of the document group to create a variant in. Must be a published
document ID, without a drafts. or versions. prefix.
Name of the variant definition this document belongs to, as in
_.variants.{variantName}. Must be a bare name, not a full document ID.
OptionalbaseId?: neverThe full document content. Requires a _type property.
OptionalifBaseRevisionId?: neverID of an existing document to copy the content from.
Optionaldocument?: neverOptionalifBaseRevisionId?: stringWhen set, the action fails unless the current revision of the base document matches this value.
Creates a variant of a document, either by supplying the full document content, or the base ID of a document to copy.