def METHOD_NAME(token_client, organizer, event, team):
    resp = token_client.post(
        '/api/v1/organizers/{}/events/{}/discounts/'.format(organizer.slug, event.slug),
        {
            "active": True,
            "internal_name": "3 for 2",
            "position": 2,
            "sales_channels": ["web"],
            "available_from": None,
            "available_until": None,
            "subevent_mode": "mixed",
            "condition_all_products": True,
            "condition_limit_products": [],
            "condition_apply_to_addons": True,
            "condition_ignore_voucher_discounted": False,
            "condition_min_count": 3,
            "condition_min_value": "0.00",
            "benefit_discount_matching_percent": "100.00",
            "benefit_only_apply_to_cheapest_n_matches": 1
        },
        format='json'
    )
    assert resp.status_code == 201
    with scopes_disabled():
        d = Discount.objects.get(pk=resp.data['id'])
        assert d.event == event
        assert d.internal_name == "3 for 2"