Skip to main content

CreateWarehouseInput

Input for creating a new warehouse facility.

Contains all necessary information to establish a new warehouse including identification, operational settings, business hours, and optional address information. Used for setting up new warehouse locations for inventory management and logistics operations.

input CreateWarehouseInput {
name: String!
description: String!
notes: String!
isActive: Boolean!
isStore: Boolean!
isPickupLocation: Boolean!
shopId: Int
businessHours: [BusinessHoursInput!]!
createWarehouseAddress: CreateWarehouseAddressInput
}

Fields

CreateWarehouseInput.name ● String! non-null scalar

Unique name for the warehouse facility.

Identifier used to distinguish this warehouse from others in the system. Cannot contain spaces and must be unique. Maximum 64 characters.

CreateWarehouseInput.description ● String! non-null scalar

Detailed description of the warehouse facility.

Comprehensive description providing context about the warehouse's purpose, capabilities, or special characteristics. Maximum 255 characters.

CreateWarehouseInput.notes ● String! non-null scalar

Internal notes and operational information.

Free-form text for storing internal notes, special instructions, or operational details about the warehouse. Not visible to external users. Maximum 255 characters.

CreateWarehouseInput.isActive ● Boolean! non-null scalar

Operational status of the warehouse.

Indicates whether the warehouse is currently active and available for operations. Inactive warehouses are excluded from inventory allocation and order fulfillment.

CreateWarehouseInput.isStore ● Boolean! non-null scalar

Store designation for customer-facing operations.

Indicates whether this warehouse also functions as a retail store location, enabling customer visits, in-store pickup, and retail operations.

CreateWarehouseInput.isPickupLocation ● Boolean! non-null scalar

Customer pickup location availability.

Indicates whether customers can collect their orders from this warehouse location, enabling click-and-collect and pickup services.

CreateWarehouseInput.shopId ● Int scalar

Associated shop identifier for retail operations.

References the shop configuration when this warehouse serves as a retail location, linking warehouse operations to specific shop settings and branding.

CreateWarehouseInput.businessHours ● [BusinessHoursInput!]! non-null input

Operating hours for each day of the week.

Defines when the warehouse is operational for receiving, processing, and shipping orders. Must include exactly 7 entries (one for each day of the week from Sunday=0 to Saturday=6). Used for scheduling operations and customer communication about availability.

CreateWarehouseInput.createWarehouseAddress ● CreateWarehouseAddressInput input

Address information for the warehouse location.

Optional address details including street address, city, postal code, country, and contact information for the warehouse facility.

Member Of

warehouseCreate mutation