Skip to main content

warehouseUpdate

Update an existing warehouse's information.

Modifies warehouse details including location information, operational settings, capacity limits, and address data. Only provided fields will be updated, others remain unchanged.

Possible errors:

  • WAREHOUSE_NOT_FOUND_ERROR: Warehouse with the specified ID does not exist
  • WAREHOUSE_UPDATE_ERROR: Failed to update the warehouse
  • FORBIDDEN: Insufficient permissions to update warehouses

AUTH: Role=[logistics.OWNER,logistics.EDITOR]

warehouseUpdate(
id: Float!
input: UpdateWarehouseInput!
): Warehouse!

Arguments

warehouseUpdate.id ● Float! non-null scalar

Unique identifier of the warehouse to update.

Must be a positive integer representing a valid warehouse ID in the system.

warehouseUpdate.input ● UpdateWarehouseInput! non-null input

Updated warehouse information.

Contains the warehouse properties to update. Only provided fields will be changed, others remain unchanged.

Type

Warehouse object

Warehouse facility for inventory storage and logistics operations.

Represents a physical or virtual warehouse location used for storing inventory, processing orders, and managing logistics operations. Includes operational settings, business hours, and address information.