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

    Interface ProductResourceIdentifier

    ResourceIdentifier to a Product. Either id or key is required. If both are set, an InvalidJsonInput error is returned.

    interface ProductResourceIdentifier {
        id?: string;
        key?: string;
        typeId: "product";
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    id?: string

    Unique identifier of the referenced Product. Required if key is absent.

    key?: string

    User-defined unique identifier of the referenced Product. Required if id is absent.

    typeId: "product"

    Type of referenced resource. If given, it must match the expected ReferenceTypeId of the referenced resource.