Skip to main content

warehouseAddressUpdate

Update an existing warehouse address.

Modifies address details including location information, contact details, and address type. Only provided fields will be updated, others remain unchanged.

Possible errors:

  • WAREHOUSE_NOT_FOUND_ERROR: Warehouse with the specified ID does not exist
  • WAREHOUSE_ADDRESS_NOT_FOUND_ERROR: Warehouse address does not exist
  • WAREHOUSE_ADDRESS_GET_ERROR: Failed to retrieve warehouse address due to database or system error
  • WAREHOUSE_ADDRESS_UPDATE_ERROR: Failed to update the warehouse address
  • FORBIDDEN: Insufficient permissions to update warehouse addresses

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

warehouseAddressUpdate(
id: Float!
input: UpdateWarehouseAddressInput!
): WarehouseAddress!

Arguments

warehouseAddressUpdate.id ● Float! non-null scalar

Unique identifier of the warehouse containing the address.

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

warehouseAddressUpdate.input ● UpdateWarehouseAddressInput! non-null input

Updated address information including address ID and modified fields.

Contains the address identifier and updated address properties. Only provided fields will be changed, others remain unchanged.

Type

WarehouseAddress object

Address information for warehouse locations.

Contains comprehensive address and contact details for warehouse facilities including physical location, contact information, and operational settings for shipping and logistics operations.