Product model
A Product model relates to either one or multiple products sold as one entity. A Product can have many barcodes, making it behave as a logical unit of products that relate to multiple physical products.
A Product model has the following fields:
| Field | Description |
|---|---|
| id | The internal ID of the product, this should be used to refer to it |
| name | Name of the product |
| requires_credentials | If a product requires credentials, the login and password fields will have to be entered during the order creation |
| variations | Array of Product Variation models that belong to this Product |