make product-type restful