faker_inventory
Inventory faker
Example
1
2
3
4
5
6
7
8
9
{{ 10 | faker_inventory: "1,2,3" }} => [
'sku_id' => 1,
'sku_code' => 'SKU123',
'global_name' => 'Global Name',
'batch_number' => 'B123',
'expiry_date' => '2021-01-01',
'quantity_on_hand' => 100,
'status' => '1'
]
Input
Type | Parameter | Description | Required |
---|---|---|---|
int | itemsToFake | The number of items to fake. Comes before the | sign. | Required |
string | statusCodes | The status codes to fake |
Output
Type | Description |
---|---|
array | The fake inventory |