@route(bp, '/', methods=['POST'])
def create():
    form = NewProductForm()
    if form.validate_on_submit():
        return products.create(**request.json)
    raise OverholtFormError(form.errors)
Creates a new product. Returns the new product instance.
dataset/ETHPy150Open mattupstate/overholt/overholt/api/products.py/create