CreateWarehouseInput
Input for createWarehouse. Only name and code are required; the resolver fills in admin defaults for the remaining fields.
input CreateWarehouseInput {
name: String!
code: String!
isStockAvailableForSale: Boolean
timezone: String
warehouseLocationId: ID
address: WarehouseAddressInput
}
Fields
CreateWarehouseInput.name ● String! non-null scalar
Warehouse display name.
CreateWarehouseInput.code ● String! non-null scalar
Short warehouse code (e.g. HQ, DE-01). Must be unique across the shop.
CreateWarehouseInput.isStockAvailableForSale ● Boolean scalar
When true, stock in this warehouse counts towards availability.
CreateWarehouseInput.timezone ● String scalar
IANA timezone identifier the warehouse operates in (e.g. Europe/Berlin).
CreateWarehouseInput.warehouseLocationId ● ID scalar
ID of the warehouse location to attach to.
CreateWarehouseInput.address ● WarehouseAddressInput input
Postal address of the warehouse.
Member Of
createWarehouse mutation