Skip to main content

warehouseAddressDelete

Permanently delete a warehouse address.

Removes the specified address from the warehouse. This action cannot be undone and will affect any operations that depend on this address.

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_DELETE_ERROR: Failed to delete the warehouse address
  • FORBIDDEN: Insufficient permissions to delete warehouse addresses

AUTH: Role=[logistics.OWNER]

warehouseAddressDelete(
id: Float!
input: DeleteWarehouseAddressInput!
): Boolean!

Arguments​

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

warehouseAddressDelete.input ● DeleteWarehouseAddressInput! non-null input​

Address deletion data containing the address ID to remove.

Specifies which address should be deleted from the warehouse.

Type​

Boolean scalar​

The Boolean scalar type represents true or false.