Typescript SDK Type Docs
    Preparing search index...

    Interface GraphQLAttributeDefinitionTypeConflictError

    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](ctp:api:endpoint:/{projectKey}/product-types:POST) request.
    
    interface GraphQLAttributeDefinitionTypeConflictError {
        code: "AttributeDefinitionTypeConflict";
        conflictingAttributeName: string;
        conflictingProductTypeId: string;
        conflictingProductTypeName: string;
        [key: string]: any;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: any
    Index

    Properties

    code: "AttributeDefinitionTypeConflict"

    One of the error codes that is listed on the Errors page.

    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.