stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > ProductVariantRelationshipUpdateInput

AdminTypes.ProductVariantRelationshipUpdateInput interface

The input fields for updating a composite product variant.

Signature:

export interface ProductVariantRelationshipUpdateInput 

Properties

Property Modifiers Type Description
parentProductId?   InputMaybe<Scalars[‘ID’][‘input’]> (Optional) A product ID which contains product variants that have relationships with other variants.
parentProductVariantId?   InputMaybe<Scalars[‘ID’][‘input’]> (Optional) The product variant ID representing that which contains the relationships with other variants.
priceInput?   InputMaybe<PriceInput> (Optional) Method in which to update the price of the parent product variant.
productVariantRelationshipsToCreate?   InputMaybe<Array<ProductVariantGroupRelationshipInput>> (Optional) The product variants and associated quantitites to add to the product variant.
productVariantRelationshipsToRemove?   InputMaybe<Array<Scalars[‘ID’][‘input’]>> (Optional) The bundle component product variants to be removed from the product variant.
productVariantRelationshipsToUpdate?   InputMaybe<Array<ProductVariantGroupRelationshipInput>> (Optional) The product variants and associated quantitites to update in specified product variant.
removeAllProductVariantRelationships?   InputMaybe<Scalars[‘Boolean’][‘input’]> (Optional) Whether to remove all components from the product variant. The default value is false.