Skip to main content

createWarehouse

Creates a new warehouse. Fills in admin defaults (stock available for sale, default warehouse location, active status) for any field the caller omits.

Required scopes​

The token needs the warehouses:write access scope.

createWarehouse(
input: CreateWarehouseInput!
): Warehouse!

Arguments​

createWarehouse.input ● CreateWarehouseInput! non-null input​

Type​

Warehouse object​

A physical or logical place where stock can live. Warehouses contain bin locations and aggregate stock records used by inbound, outbound and availability computations.