@gradientedge/commercetools-utils
    Preparing search index...

    Interface GraphQLDuplicateFieldWithConflictingResourceError

    Returned when a field value conflicts with an existing value stored in a particular resource causing a duplicate.

    interface GraphQLDuplicateFieldWithConflictingResourceError {
        code: "DuplicateFieldWithConflictingResource";
        conflictingResource: Reference;
        duplicateValue: any;
        field: string;
        [key: string]: any;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: any
    Index

    Properties

    code: "DuplicateFieldWithConflictingResource"

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

    conflictingResource: Reference

    Reference to the resource that has the conflicting value.

    duplicateValue: any

    Conflicting duplicate value.

    field: string

    Name of the conflicting field.