Skip to main content
Log inSign up
Anchor to ProductVariantRelationshipUpdateInput

ProductVariantRelationshipUpdateInput

input_object

The input fields for updating a composite product variant.

•

A product ID which contains product variants that have relationships with other variants.

Anchor to parentProductVariantIdparentProductVariantId
•

The product variant ID representing that which contains the relationships with other variants.

•
PriceInputDefault:null

Method in which to update the price of the parent product variant.

Anchor to productVariantRelationshipsToCreateproductVariantRelationshipsToCreate
•

The product variants and associated quantitites to add to the product variant.

Anchor to productVariantRelationshipsToRemoveproductVariantRelationshipsToRemove
•
[ID!]Default:null

The bundle component product variants to be removed from the product variant.

Anchor to productVariantRelationshipsToUpdateproductVariantRelationshipsToUpdate
•

The product variants and associated quantitites to update in specified product variant.

Anchor to removeAllProductVariantRelationshipsremoveAllProductVariantRelationships
•
BooleanDefault:false

Whether to remove all components from the product variant. The default value is false.


Was this section helpful?