def METHOD_NAME(item_collection_dict):
    ic_form = ItemCollectionForm()
    if request.method == 'GET':
        return jsonify(
            form_template=render_form(
                form=ic_form,
                title="New item collection",
                submit="Create",
                ajax=False,
                with_chrome=False,
            ).get_data(as_text=True)
        )
    if ic_form.validate_on_submit():
        ic = ItemCollection(organization=item_collection_dict['organization'])
        ic_form.populate_obj(ic)
        if not ic.name:
            ic.make_name()
        db.session.add(ic)
        db.session.commit()
        return api_success(
            result={'item_collection': dict(ic.current_access())},
            doc=_("New item collection created"),
            status_code=201,
        )
    return api_error(
        message=_("There was a problem with creating the item collection"),
        errors=ic_form.errors,
        status_code=400,
    )