Models

Danger

We’re sorry but this documentation section is outdated. Please have that in mind when trying to use it. You can help us making documentation up to date via Sylius Github. Thank you!

InventoryUnit

InventoryUnit object represents an inventory unit. InventoryUnits have the following properties:

Property Description
id Unique id of the inventory unit
stockable Reference to any stockable unit. (Implements StockableInterface)
inventoryState State of the inventory unit (e.g. “checkout”, “sold”)
createdAt Date when inventory unit was created
updatedAt Date of last change

Note

This model implements the InventoryUnitInterface For more detailed information go to Sylius API InventoryUnit.