Skip to main content

WarehouseCreate Object

Creates new warehouse.

Requires MANAGE_PRODUCTSpermission.
type WarehouseCreate {
warehouseErrors: [WarehouseError!]! @deprecated
errors: [WarehouseError!]!
warehouse: Warehouse
}

Fields

WarehouseCreate.warehouseErrors ● [WarehouseError!]! deprecated non-null object products

DEPRECATED

This field will be removed in Saleor 4.0. Use errors field instead.

WarehouseCreate.errors ● [WarehouseError!]! non-null object products

WarehouseCreate.warehouse ● Warehouse object products

Returned By

createWarehouse mutation