Skip to main content
Anchor to ProductVariantRelationshipUpdateInput

ProductVariantRelationshipUpdateInput

input_object

The input fields for updating a composite product variant.

•ID

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

Anchor to parentProductVariantIdparentProductVariantId
•ID

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

•PriceInput
Default:null

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

Anchor to productVariantRelationshipsToCreateproductVariantRelationshipsToCreate
•[ProductVariantGroupRelationshipInput!]
Default:null

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
•[ProductVariantGroupRelationshipInput!]
Default:null

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

Anchor to removeAllProductVariantRelationshipsremoveAllProductVariantRelationships
•Boolean
Default:false

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


Was this section helpful?