warehouseCreate
mutation
Create warehouse
Adds a new warehouse to the company for stock management. Products can then be assigned stock levels within this warehouse. Returns the created warehouse.
mutation {
warehouseCreate(companyId: Int!, data: WarehouseInsert!): Warehouse!
}Returns: Warehouse!
Arguments
| Name | Type | Description |
|---|---|---|
companyId | Int! | |
data | WarehouseInsert! |