Skip to content

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:

FieldDescription
idThe internal ID of the product, this should be used to refer to it
nameName of the product
requires_credentialsIf a product requires credentials, the login and password fields will have to be entered during the order creation
variationsArray of Product Variation models that belong to this Product