stack

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

AdminTypes.ProductVariantRelationshipBulkUpdateUserErrorCode enum

Possible error codes that can be returned by ProductVariantRelationshipBulkUpdateUserError.

Signature:

export declare enum ProductVariantRelationshipBulkUpdateUserErrorCode 

Enumeration Members

Member Value Description
CircularReference "CIRCULAR_REFERENCE" A parent product variant cannot contain itself as a component.
DuplicateProductVariantRelationship "DUPLICATE_PRODUCT_VARIANT_RELATIONSHIP" A parent product variant must not contain duplicate product variant relationships.
ExceededProductVariantRelationshipLimit "EXCEEDED_PRODUCT_VARIANT_RELATIONSHIP_LIMIT" Exceeded the maximum allowable product variant relationships in a parent product variant.
FailedToCreate "FAILED_TO_CREATE" Unable to create parent product variant.
FailedToRemove "FAILED_TO_REMOVE" Unable to remove product variant relationships.
FailedToUpdate "FAILED_TO_UPDATE" Unable to update product variant relationships.
FailedToUpdateParentProductVariantPrice "FAILED_TO_UPDATE_PARENT_PRODUCT_VARIANT_PRICE" Unable to update parent product variant price.
InvalidQuantity "INVALID_QUANTITY" Product variant relationships must have a quantity greater than 0.
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.
NestedParentProductVariant "NESTED_PARENT_PRODUCT_VARIANT" Nested parent product variants aren’t supported.
ParentProductVariantCannotBeGiftCard "PARENT_PRODUCT_VARIANT_CANNOT_BE_GIFT_CARD" Gift cards cannot be parent product variants.
ParentProductVariantCannotRequireSellingPlan "PARENT_PRODUCT_VARIANT_CANNOT_REQUIRE_SELLING_PLAN" Parent product variants cannot require a selling plan.
ParentRequired "PARENT_REQUIRED" A parent product variant ID or product ID must be provided.
ProductExpanderAppOwnershipAlreadyExists "PRODUCT_EXPANDER_APP_OWNERSHIP_ALREADY_EXISTS" The products for these product variants are already owned by another App.
ProductVariantRelationshipTypeConflict "PRODUCT_VARIANT_RELATIONSHIP_TYPE_CONFLICT" A Core type relationship cannot be added to a composite product variant with SFN type relationships.
ProductVariantsNotComponents "PRODUCT_VARIANTS_NOT_COMPONENTS" Some of the provided product variants are not components of the specified parent product variant.
ProductVariantsNotFound "PRODUCT_VARIANTS_NOT_FOUND" The product variants were not found.
UnexpectedError "UNEXPECTED_ERROR" Unexpected error.
UnsupportedMultipackRelationship "UNSUPPORTED_MULTIPACK_RELATIONSHIP" Multipack bundles are not supported.
UpdateParentVariantPriceRequired "UPDATE_PARENT_VARIANT_PRICE_REQUIRED" A price must be provided for a parent product variant if the price calucation is set to fixed.