def METHOD_NAME(
    cls,
    _root,
    info,
    /,
    checkout_id=None,
    token=None,
    id=None,
    promo_code=None,
    promo_code_id=None,
):
    validate_one_of_args_is_in_mutation(
        "promo_code", promo_code, "promo_code_id", promo_code_id
    )
    object_type, promo_code_pk = cls.clean_promo_code_id(promo_code_id)
    checkout = get_checkout(cls, info, checkout_id=checkout_id, token=token, id=id)
    manager = get_plugin_manager_promise(info.context).get()
    checkout_info = fetch_checkout_info(checkout, [], manager)
    removed = False
    if promo_code:
        removed = remove_promo_code_from_checkout(checkout_info, promo_code)
    else:
        removed = cls.remove_promo_code_by_id(
            info, checkout, object_type, promo_code_pk
        )
    if removed:
        lines, _ = fetch_checkout_lines(checkout)
        invalidate_checkout_prices(
            checkout_info,
            lines,
            manager,
            recalculate_discount=False,
            save=True,
        )
        cls.call_event(manager.checkout_updated, checkout)
    return CheckoutRemovePromoCode(checkout=checkout)