A product type defines a set of properties for products. For example, a Hard Drive product type might have capacity and read/write speed properties.

Properties:

id - Integer - Unique id of the product type

name - String - Name of the type

properties - [ProductTypeProperty] - Array of properties for this type

selected? - Boolean - When passing product_types to the page via query string parameters, this field indicates if this one should be selected.

Did this answer your question?