Create a new supplier package. A supplier package complements a stock item by including information that is specific to a single supplier.
This endpoint accepts adding a supplier package to an existing stock item, as well as defining a new stock item. If adding a new stock item, omit the
id field of the
stock_item object and fill in the other attributes to define the stock item.
Similarly for the supplier, it is possible to reference an existing supplier using either their ID or their name. The alternative field should be omitted.
Some examples are provided on the interactive console.
price_unitis an optional field.
If left unused, the created supplier package will use the unit of the related stock item.
Refer to the guides for a list of Valid Base Units.