def METHOD_NAME(token_client, organizer, customer):
    resp = token_client.patch(
        '/api/v1/organizers/{}/customers/{}/'.format(organizer.slug, customer.identifier),
        format='json',
        data={
            'name_parts': 'should be a dictionary',
        }
    )
    assert resp.status_code == 400