Skip to main content

UpdateWarehouseInput

Input for updating an existing warehouse.

Contains optional fields for modifying warehouse properties. Only provided fields will be updated, others remain unchanged. Address updates must be performed separately through dedicated address mutation operations.

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

Fields

UpdateWarehouseInput.name ● String 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.

UpdateWarehouseInput.description ● String scalar

Detailed description of the warehouse facility.

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

UpdateWarehouseInput.notes ● String 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.

UpdateWarehouseInput.isActive ● Boolean 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.

UpdateWarehouseInput.isStore ● Boolean 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.

UpdateWarehouseInput.isPickupLocation ● Boolean scalar

Customer pickup location availability.

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

UpdateWarehouseInput.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.

UpdateWarehouseInput.businessHours ● [BusinessHoursInput!] list 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.

Member Of

warehouseUpdate mutation