Updated "type" field to "product_type".