Interface AttributeDefinitionTypeConflictError

Returned when the type is different for an AttributeDefinition using the same name in multiple Product Types.

The error is returned as a failed response to the [Create ProductType](/../api/projects/productTypes#create-producttype) request.
interface AttributeDefinitionTypeConflictError {
    code: "AttributeDefinitionTypeConflict";
    conflictingAttributeName: string;
    conflictingProductTypeId: string;
    conflictingProductTypeName: string;
    message: string;
    [key: string]: any;
}

Indexable

[key: string]: any

Properties

code: "AttributeDefinitionTypeConflict"
conflictingAttributeName: string

Name of the conflicting Attribute.

conflictingProductTypeId: string

Unique identifier of the Product Type containing the conflicting name.

conflictingProductTypeName: string

Name of the Product Type containing the conflicting name.

message: string

"The attribute with name $attributeName has a different type on product type $productTypeName."

Generated using TypeDoc