Anchor to section titled 'undefined'

ProductVariantRelationshipBulkUpdateUserErrorCode
enum

Possible error codes that can be returned by ProductVariantRelationshipBulkUpdateUserError.


value-childproductvariantcannotbecombinedlisting
CHILD_PRODUCT_VARIANT_CANNOT_BE_COMBINED_LISTING

Combined listing cannot be child product variants.

value-circularreference
CIRCULAR_REFERENCE

A parent product variant cannot contain itself as a component.

value-duplicateproductvariantrelationship
DUPLICATE_PRODUCT_VARIANT_RELATIONSHIP

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

value-exceededproductvariantrelationshiplimit
EXCEEDED_PRODUCT_VARIANT_RELATIONSHIP_LIMIT

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

value-failedtocreate
FAILED_TO_CREATE

Unable to create parent product variant.

value-failedtoremove
FAILED_TO_REMOVE

Unable to remove product variant relationships.

value-failedtoupdate
FAILED_TO_UPDATE

Unable to update product variant relationships.

value-failedtoupdateparentproductvariantprice
FAILED_TO_UPDATE_PARENT_PRODUCT_VARIANT_PRICE

Unable to update parent product variant price.

value-invalidquantity
INVALID_QUANTITY

Product variant relationships must have a quantity greater than 0.

value-mustspecifycomponents
MUST_SPECIFY_COMPONENTS

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

value-nestedparentproductvariant
NESTED_PARENT_PRODUCT_VARIANT

Nested parent product variants aren't supported.

value-parentproductvariantcannotbecombinedlisting
PARENT_PRODUCT_VARIANT_CANNOT_BE_COMBINED_LISTING

Combined listing cannot be parent product variants.

value-parentproductvariantcannotbegiftcard
PARENT_PRODUCT_VARIANT_CANNOT_BE_GIFT_CARD

Gift cards cannot be parent product variants.

value-parentproductvariantcannotrequiresellingplan
PARENT_PRODUCT_VARIANT_CANNOT_REQUIRE_SELLING_PLAN

Parent product variants cannot require a selling plan.

value-parentrequired
PARENT_REQUIRED

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

value-productexpanderappownershipalreadyexists
PRODUCT_EXPANDER_APP_OWNERSHIP_ALREADY_EXISTS

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

value-productvariantsnotcomponents
PRODUCT_VARIANTS_NOT_COMPONENTS

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

value-productvariantsnotfound
PRODUCT_VARIANTS_NOT_FOUND

The product variants were not found.

value-productvariantrelationshiptypeconflict
PRODUCT_VARIANT_RELATIONSHIP_TYPE_CONFLICT

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

value-unexpectederror
UNEXPECTED_ERROR

Unexpected error.

value-unsupportedmultipackrelationship
UNSUPPORTED_MULTIPACK_RELATIONSHIP

Multipack bundles are not supported.

value-updateparentvariantpricerequired
UPDATE_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?


Was this section helpful?
Map
ProductVariantRelationshipBulkUpdateUserErrorCode