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

interface CategoryResourceIdentifier {
    id?: string;
    key?: string;
    typeId: "category";
}

Hierarchy (View Summary)

Properties

Properties

id?: string

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

key?: string

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

typeId: "category"

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