BetaBetaactionOptional BetabundleSource bundle: 'drafts', or a release id.
Defaults to the published bundle.
BetapatchPatch operations to apply.
BetapublishedID of the document group the variant belongs to. Must be a published
document ID, without a drafts. or versions. prefix.
BetavariantName of the variant definition this document belongs to, as in
_.variants.{variantName}. Must be a bare name, not a full document ID.
Modifies a variant version of a document by applying a patch.
If no such variant document exists it is first created, by copying the variant's published sibling, or the published document if the variant was never published.