Anchor to ProductVariantsBulkCreateStrategyProduct
enumProduct Variants Bulk Create Strategy
The set of strategies available for use on the mutation.
Anchor to Valid valuesValid values
- Anchor to DEFAULTDEFAULT
The default strategy. Deletes the standalone default ("Default Title") variant when it's the only variant on the product. Preserves the standalone custom variant.
- Anchor to PRESERVE_STANDALONE_VARIANTPRESERVE_
STANDALONE_ VARIANT Preserves the existing standalone variant when the product has only a single default ("Default Title") or a single custom variant.
- Anchor to REMOVE_STANDALONE_VARIANTREMOVE_
STANDALONE_ VARIANT Deletes the existing standalone variant when the product has only a single default ("Default Title") or custom variant.
Was this section helpful?