Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Anchor to ProductVariantRelationshipBulkUpdateUserErrorCode

ProductVariantRelationshipBulkUpdateUserErrorCode

enum

Possible error codes that can be returned by ProductVariantRelationshipBulkUpdateUserError.

•

A parent product variant cannot contain itself as a component.

Anchor to DUPLICATE_PRODUCT_VARIANT_RELATIONSHIPDUPLICATE_PRODUCT_VARIANT_RELATIONSHIP
•

A parent product variant must not contain duplicate product variant relationships.

Anchor to EXCEEDED_PRODUCT_VARIANT_RELATIONSHIP_LIMITEXCEEDED_PRODUCT_VARIANT_RELATIONSHIP_LIMIT
•

Exceeded the maximum allowable product variant relationships in a parent product variant.

•

Unable to create parent product variant.

•

Unable to remove product variant relationships.

•

Unable to update product variant relationships.

Anchor to FAILED_TO_UPDATE_PARENT_PRODUCT_VARIANT_PRICEFAILED_TO_UPDATE_PARENT_PRODUCT_VARIANT_PRICE
•

Unable to update parent product variant price.

•

Product variant relationships must have a quantity greater than 0.

Anchor to MUST_SPECIFY_COMPONENTSMUST_SPECIFY_COMPONENTS
•

The product variant relationships to remove must be specified if all the parent product variant's components aren't being removed.

Anchor to NESTED_PARENT_PRODUCT_VARIANTNESTED_PARENT_PRODUCT_VARIANT
•

Nested parent product variants aren't supported.

Anchor to PARENT_PRODUCT_VARIANT_CANNOT_BE_GIFT_CARDPARENT_PRODUCT_VARIANT_CANNOT_BE_GIFT_CARD
•

Gift cards cannot be parent product variants.

Anchor to PARENT_PRODUCT_VARIANT_CANNOT_REQUIRE_SELLING_PLANPARENT_PRODUCT_VARIANT_CANNOT_REQUIRE_SELLING_PLAN
•

Parent product variants cannot require a selling plan.

•

A parent product variant ID or product ID must be provided.

Anchor to PRODUCT_EXPANDER_APP_OWNERSHIP_ALREADY_EXISTSPRODUCT_EXPANDER_APP_OWNERSHIP_ALREADY_EXISTS
•

The products for these product variants are already owned by another App.

Anchor to PRODUCT_VARIANT_RELATIONSHIP_TYPE_CONFLICTPRODUCT_VARIANT_RELATIONSHIP_TYPE_CONFLICT
•

A Core type relationship cannot be added to a composite product variant with SFN type relationships.

Anchor to PRODUCT_VARIANTS_NOT_COMPONENTSPRODUCT_VARIANTS_NOT_COMPONENTS
•

Some of the provided product variants are not components of the specified parent product variant.

Anchor to PRODUCT_VARIANTS_NOT_FOUNDPRODUCT_VARIANTS_NOT_FOUND
•

The product variants were not found.

•

Unexpected error.

Anchor to UNSUPPORTED_MULTIPACK_RELATIONSHIPUNSUPPORTED_MULTIPACK_RELATIONSHIP
•

Multipack bundles are not supported.

Anchor to UPDATE_PARENT_VARIANT_PRICE_REQUIREDUPDATE_PARENT_VARIANT_PRICE_REQUIRED
•

A price must be provided for a parent product variant if the price calucation is set to fixed.


Was this section helpful?