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

interface CartDiscountResourceIdentifier {
    id?: string;
    key?: string;
    typeId: "cart-discount";
}

Properties

Properties

id?: string

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

key?: string

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

typeId: "cart-discount"