@usethrottle/cart
    Preparing search index...

    Interface RemoveDiscountOptions

    Which code to take off a cart that holds a goods code and a free-shipping code. With both applied and neither given the API answers 400 discount_kind_required.

    interface RemoveDiscountOptions {
        code?: string;
        kind?: "order" | "shipping";
    }
    Index
    code?: string

    Remove this code (case-insensitive).

    kind?: "order" | "shipping"

    order removes the goods code, shipping the free-shipping code.