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

interface ProductDiscountResourceIdentifier {
    id?: string;
    key?: string;
    typeId: "product-discount";
}

Properties

Properties

id?: string

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

key?: string

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

typeId: "product-discount"